Facebook transport

View: New views
6 Messages — Rating Filter:   Alert me  

Facebook transport

by Simon Tennant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We would like to connect our network to Facebook's.

I was reading the following article about how Adium got things working:

http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/

Our backend is currently an SVN-almost-trunk of ejabberd.

I was thinking that the best way to think about doing this is via custom
transport similar to how PyMSN works.

How would you approach this problem?  (No, Facebook are not returning my
calls about XMPP federation.)

D.
--
Simon Tennant _____________________________________________

fixed: .uk +44 20 7043 6756          .de +49 89 420 955 854
  mob: .uk +44 78 5335 6047          .de +49 17 8545 0880
_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd

Re: Facebook transport

by Michael Ossareh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 29, 2008 at 3:25 PM, Simon Tennant <simon@...> wrote:

> We would like to connect our network to Facebook's.
>
> I was reading the following article about how Adium got things working:
>
> http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/
>
> Our backend is currently an SVN-almost-trunk of ejabberd.
>
> I was thinking that the best way to think about doing this is via custom
> transport similar to how PyMSN works.
>
> How would you approach this problem?  (No, Facebook are not returning my
> calls about XMPP federation.)
>
> D.
> --
> Simon Tennant _____________________________________________
>
> fixed: .uk +44 20 7043 6756          .de +49 89 420 955 854
>  mob: .uk +44 78 5335 6047          .de +49 17 8545 0880
> _______________________________________________
> ejabberd mailing list
> ejabberd@...
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>

We have facebook integrated through XMPP. They're not doing a full
launch for some reason. I spoke to Henri at facebook and he was rather
skittish about XMPP access; citing security reasons for not wanting
facebook users to input their username/passwords for facebook into
other sites.

Since they're working over XMPP we merely took our gateway code and
integrated the XMPP layer. Pretty much exactly what we do with gtalk.
The primary bit we had to work on was their auth.

Ebuddy have recently launched facebook chat by doing it the way that
adium do it. We emailed facebook to see if they'd given ebuddy some
early bird access and they said they don't condone that type of usage,
its outside of the terms of service, and they're not sure what they'll
do to people that abuse that. I say do it - but be aware :)


--
"Don't go through life, grow through life."
- Eric Butterworth
_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd

Re: Facebook transport

by Simon Tennant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Ossareh wrote:

> We have facebook integrated through XMPP. They're not doing a full
> launch for some reason. I spoke to Henri at facebook and he was rather
> skittish about XMPP access; citing security reasons for not wanting
> facebook users to input their username/passwords for facebook into
> other sites.

This is good to know.  And the "right" way to have it working. I can
understand their fear of users entering passwords outside of Facebook.
Still it would be nice if they opened their platform to openID.

> Since they're working over XMPP we merely took our gateway code and
> integrated the XMPP layer. Pretty much exactly what we do with gtalk.
> The primary bit we had to work on was their auth.

I am not sure I understand this: I thought you were running an ejabberd
server and would therefore be able to just do an XMPP to XMPP connect.
Or are you logging in as a facebook user/pass and passing the
credentials upstream to Facebook's XMPP cloud?

> Ebuddy have recently launched facebook chat by doing it the way that
> adium do it. We emailed facebook to see if they'd given ebuddy some
> early bird access and they said they don't condone that type of usage,
> its outside of the terms of service, and they're not sure what they'll
> do to people that abuse that. I say do it - but be aware :)

If you have a Facebook XMPP contact I'd be very I'd be most grateful.
Could you ping me off list with an intro.

S.
--
Simon Tennant _____________________________________________

fixed: .uk +44 20 7043 6756          .de +49 89 420 955 854
  mob: .uk +44 78 5335 6047          .de +49 17 8545 0880
_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd

Re: Facebook transport

by Mickaël Rémond-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Le 30 sept. 08 à 14:12, Simon Tennant a écrit :

Michael Ossareh wrote:

We have facebook integrated through XMPP. They're not doing a full
launch for some reason. I spoke to Henri at facebook and he was rather
skittish about XMPP access; citing security reasons for not wanting
facebook users to input their username/passwords for facebook into
other sites.

This is good to know.  And the "right" way to have it working. I can
understand their fear of users entering passwords outside of Facebook.
Still it would be nice if they opened their platform to openID.

They can implement delegated credentials that will only provide limited rights (through OAuth for example).

-- 
Mickaël Rémond

_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd

Re: Facebook transport

by Michael Ossareh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Since they're working over XMPP we merely took our gateway code and
>> integrated the XMPP layer. Pretty much exactly what we do with gtalk.
>> The primary bit we had to work on was their auth.
>
> I am not sure I understand this: I thought you were running an ejabberd
> server and would therefore be able to just do an XMPP to XMPP connect.
> Or are you logging in as a facebook user/pass and passing the
> credentials upstream to Facebook's XMPP cloud?

We have some specific requirements here that meant we needed a
gateway/transport versus using a s2s connection.



--
"Don't go through life, grow through life."
- Eric Butterworth
_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd

Re: Facebook transport

by Michael Ossareh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 30, 2008 at 5:18 AM, Mickaël Rémond
<mickael.remond@...> wrote:

> Hello,
> Le 30 sept. 08 à 14:12, Simon Tennant a écrit :
>
> Michael Ossareh wrote:
>
> We have facebook integrated through XMPP. They're not doing a full
>
> launch for some reason. I spoke to Henri at facebook and he was rather
>
> skittish about XMPP access; citing security reasons for not wanting
>
> facebook users to input their username/passwords for facebook into
>
> other sites.
>
> This is good to know.  And the "right" way to have it working. I can
> understand their fear of users entering passwords outside of Facebook.
> Still it would be nice if they opened their platform to openID.
>
> They can implement delegated credentials that will only provide limited
> rights (through OAuth for example).

I suggested this and their feedback was that they do  not believe this
will work; people only have one password - asking their users to have
a "less secure" password didn't work. I suggested that they use OAuth
(which would be bad for us) and then the topic of fooling users into
non-official facebook branded sites came up. Overall - it just feels
like they're being overly paranoid.

> --
> Mickaël Rémond
>  http://www.process-one.net/
> _______________________________________________
> ejabberd mailing list
> ejabberd@...
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>



--
"Don't go through life, grow through life."
- Eric Butterworth
_______________________________________________
ejabberd mailing list
ejabberd@...
http://lists.jabber.ru/mailman/listinfo/ejabberd
LightInTheBox - Buy quality products at wholesale price!