Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Facebook Graph - exchanging sessions for access_tokens

With help from another post, http://developer.appcelerator.com/question/21031/from-facebook-connect-to-open-graph I was able to connect to the Facebook graph and get access_token and able to run a test query to pull my profile information.

This code extends the Titanium.Facebook object with a new method 'sessionForAccessToken'

https://gist.github.com/98d02d89eb6c134ea3c1

Thanks for Brice for the ideas on how to make the exchange.

— asked December 6th 2010 by John Schimmel
  • api
  • facebook
  • graph
  • oauth2
  • session
  • social
1 Comment
  • Did you use a session proxy? is one required? I'm looking for some code that doesnt use a proxy. whenever I leave off the proxy it doesnt seem that my login event ever fires?

    — commented December 18th 2010 by Anthony Webb

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.