Ram Rachum
Ram Rachum

Reputation: 88678

Facebook: Is there a way to check that I have certain permissions?

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?

Upvotes: 3

Views: 383

Answers (2)

Lucy Weatherford
Lucy Weatherford

Reputation: 5534

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

Upvotes: 1

serg
serg

Reputation: 111325

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

Upvotes: 1

Related Questions