开发者

Is it possible to check what extended permissions have been granted by a user?

I'm building the option to post to a user's wall into an app. The feature is optional, so I'll need to render my site a lit开发者_JAVA百科tle differently depending on whether or not the user has authorised the application or not.

The application is an ASP.NET MVC3 RC2 project using Facebook SDK 4.2.1.

Is this possible through the C# SDK? Is there a clean(ish) hack to get that info from the SDK? Or is there a way to retrieve this info (preferably server side) from Facebook directly?

Rich


It looks like you can do it with FQL.

var fbApp = new FacebookApp();
fbApp.Query("select publish_stream from permissions where uid=me()");

Rich

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜