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
精彩评论