[Facebooker-talk] Announcing Facebook Connect support
Mike Mangino
mmangino at elevatedrails.com
Wed Jan 14 18:02:06 EST 2009
On Jan 14, 2009, at 5:33 PM, Konstantin Gredeskoul wrote:
>
>
> My question is: does this helper require a REST API call to FB
> servers? Or is that data cached in the cookie/session? Or is that
> data obtained by generating javascript that updates HTML when it
> loads?
That will require a REST call. The only things handled by javascript
are the XFBML tags
>
>
> If I was to register someone from Facebook on my website, I would like
> to capture their first name, last name and email in order to create a
> proper account on our site. If this information is available at the
> controller level, then I have no problem with this.
You should read the Facebook TOS. You can't capture any of this. The
name is available, but can't be stored.
>
>
> if, however, it's only available in the client javascript layer, I
> will probably have to construct an ajax call to send this information
> back to the server, so that I can register the user.
>
> Any clarification on how FB connect + Facebooker actually works, and
> whether the data is available at the controller level is much
> appreciated. If I am off track completely, please feel free to chime
> in.
Once you log in, you should get a Facebook session object. From there,
your application works just like a Facebook canvas application. You
can check out http://www.pragprog.com/titles/mmfacer to learn more.
The book shows how to get data using the REST API on the server side.
There are screencasts available that show similar information.
Mike
>
>
> Thanks
> Konstantin
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list