daogr / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Session.sessionToken expired #295

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Facebook.init(APPID, onInit);
2.Facebook.login(onLogin, 
["user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags"]);
3.Facebook.api("/me/friends?access_token=" + session.accessToken, handleAPI);

What is the expected output? What do you see instead?
should get back json feed, but i get back OAuthException Bad Signature. 

What version of the product are you using? On what operating system?
Current, OSX 10.6

Please provide any additional information below.
It appears that my session token is expired... I think this is the issues. How 
can I fix this?

Original issue reported on code.google.com by ryancanulla@gmail.com on 28 Apr 2011 at 4:26

GoogleCodeExporter commented 8 years ago
Access token gets appended by the library.
Try making the api call like this:
Facebook.api("/me/friends", handleAPI);

Original comment by yourpalm...@gmail.com on 29 Apr 2011 at 5:16

GoogleCodeExporter commented 8 years ago
thanks that works!

Original comment by ryancanulla@gmail.com on 2 May 2011 at 7:05

GoogleCodeExporter commented 8 years ago

Original comment by rovertn...@gmail.com on 10 May 2011 at 10:42