Tarun
Tarun

Reputation: 13808

How to get Facebook Session with Parse v1.9.0 Facebook Signup

I am integrating Parse.com 1.9.0 sdk with ParseFacebookUtilsv4-1.9.0 for Facebook integration in my app. Earlier ParseFacebookUtils.getSession() used to give Facebook session but in this updated sdk there is no getSession() method available.

How do I get the Facebook session to call Facebook requests?

Upvotes: 3

Views: 484

Answers (1)

Angad
Angad

Reputation: 2823

Not tested yet (debugging the crap out of my own app facing these upgrade issues), but this should work: Try Facebook API 4.0's AccessToken.getCurrentAccessToken(). Will confirm if this works by editing answer at earliest.

Check this out: https://developers.facebook.com/docs/android/upgrading-4.x

Upvotes: 3

Related Questions