3

I started developing a Facebook app using the new Graph API.

I want to check if I have certain permissions, (say publish_stream for example) for a certain user. I know that the old REST API had users.hasAppPermission, but I don't see anything parallel to that in the new Graph API.

How can I do this?

Ram Rachum
  • 84,019
  • 84
  • 236
  • 374

2 Answers2

1

You will need to run FQL on permissions table. If you are using JS SDK you can run it with FB.Data.query().

serg
  • 109,619
  • 77
  • 317
  • 330
1

Yes. In the new Graph API use "/[user]/permissions". See also detailed explanation here and here.

Community
  • 1
  • 1
Lucy Weatherford
  • 5,452
  • 16
  • 50
  • 76