EgorLoskutov / facebook-actionscript-api

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

Get permissions of logged in user #425

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Standard Login to Facebook (Web) using some extended permissions, like 
"publish_stream" etc.
2. As per documentation, upon successful login, the object returned would be a 
FacebookSession, from which we can access the permissions
3. Returned object is a FacebookAuthResponse instead

What is the expected output? What do you see instead?
Returned object is a FacebookAuthResponse (as far as I can guess) instead of 
FacebookSession. How do we get the permissions for the logged in user, since 
the user can skip the part of extended permissions in the dialog?

What version of the product are you using? On what operating system?
1.8, Windows 7

Please provide any additional information below.
This should be pretty straight forward, but I am biting nails to find the right 
way. Basically I need to get the available permissions for the user (which he / 
she granted upon login) to modify my UI accordingly. 

Any help would do wonders. Thanks.

Original issue reported on code.google.com by gurtejsi...@gmail.com on 11 Jun 2012 at 3:28