Getting access token from facebook SDK in iOS

Is it possible to get the access token for the logged in user in iOS 5? If so, how this can be achieved?

Answers


If you're using the current version (v3.2.1 at this time) of the SDK you can get to the user's access token with the following:

[[[FBSession activeSession] accessTokenData] accessToken]


Visit for more details about ios authentication :

https://developers.facebook.com/docs/reference/iossdk/authentication/

http://developers.facebook.com/ios/

http://developers.facebook.com/docs/howtos/ios-6/


Need Your Help

Replace NA in column with value in adjacent column

r replace missing-data na

This question is related to a post with a similar title (replace NA in an R vector with adjacent values). I would like to scan a column in a data frame and replace NA's with the value in the adjacent

Filter by process/PID in Wireshark

wireshark

Is there a way to filter/follow a TCP/SSL stream based on a particular process ID using Wireshark?