Active
Project:
Facebook Connect
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2011 at 22:04 UTC
Updated:
9 Oct 2011 at 22:04 UTC
I'm currently building and extending a Drupal site, using FBConnect to login/register.
Now I'm building a Javascript where I want to pull in some details for the user from FB, e.g. friends list.
How do I, from a theme javascript, call the FBConnnect keys and login details.
I basically just need "Is user logged in via Facebook, return true"
I see the final line of FBConnect.js is to bind the FB:init to the document, so it should be possible to further extend the use of the logged in data, e.g. Userimage, updates from friends, users location etc. via the theme js.
I tried looking here and googling, I just need someone to point in the right direction.