Skip to content

Instantly share code, notes, and snippets.

@jhaynie
Created December 12, 2009 00:00
Show Gist options
  • Save jhaynie/254624 to your computer and use it in GitHub Desktop.
Save jhaynie/254624 to your computer and use it in GitHub Desktop.
// create a Facebook button with a session proxy
var button = Titanium.Facebook.createLoginButton({
'id':'fb',
'style':'wide',
'apikey':'MY API KEY',
'sessionProxy':'http://my/url'
});
// you can also just call setup too to use your own button
Titanium.Facebook.setup('MY API KEY',null,'http://my/url');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment