facebook c# sdk - Post to fan page / group page as application not as user -


I am using Facebook C # SDK to post the item. I can post the user's wall as a user, I can post on the group page / fan page but it appears as if it comes from the administrator and not the application. What do I want to do, a post appears as if it came from the application and there is no administration - what am I doing?

I request the following permissions: publish_stream, manage_pages, offline_access

Here is a code snippet:

  var fb2 = New FacebookOAuthClient (FacebookApplication) .Current); Dynamic result = fb2.GetApplicationAccessToken (); Var appAccessToken = resultt.access_token; Dynamic parameters = new ExpandoObject (); {Parameters.access_token = appAccessToken; Parameters.link = "http://www.msn.com"; Parameters.picture = ""; Parameters.name = "test"; Parameters.caption = "test!"; Parameters.description = "Just another exam."; Parameters.from = AppID; Parameters.to = PageID; Parameters.actions = new {name = "test", link = "http://www.msn.com",}; FacebookClient appp = new FacebookClient (appAccessToken); Var result = appp.Post ("/" + + API + + "/ feed", parameter); After reading Facebook documentation and posts, I got it.  

After obtaining access_token from the accounts for page ID, you can post as a page.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -