No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
joshfire.connect.friendsrequest.js
joshfire.connect.init.js
joshfire.connect.login.js
joshfire.connect.logout.js
joshfire.connect.publish.js
package.json

README.md

Factory Addon for Facebook Connect

Defines three hooks / intents :

  • init : asynchronously loads the FB SDK, inits the FB App, and binds callbacks to several events (onLogin, onLogout, onInitialStatusCheck)
  • login : Triggers login popup/native dialog
  • logout : Triggers logout from Facebook
  • friends-request : Lets user invite friends
  • publish : Publish a post on the wall.

There's no need for the 'login' intent on desktops, since the FB SDK Loading automatically creates a FB Login button in the DOM. The login action isn't manually triggered, as opposed to the others. (it could be though).