开发者

How to Post on page's (fan page) wall as page not as its owner through my app

开发者 https://www.devze.com 2023-02-13 11:13 出处:网络
I am using c# (asp.net mvc) and want to post on page\'s wall as page, not as page\'s owner. (not as profile who owns it) through my page which is hosted some where else not on facebook.

I am using c# (asp.net mvc) and want to post on page's wall as page, not as page's owner. (not as profile who owns it) through my page which is hosted some where else not on facebook.

How can i do this.

----------------edit--------------

This is my page http://www.facebook.com/#!/pages/Rhino-Hub/135447799844908

i want to post on this page's wall as my page through my app rather then from this page owner's profile (which is also me).

Currently doing this to post a wall

  1. Login on facebook
  2. Switch acount to page by: Account Settings-->Use facebook as page--> Switch
  3. Write something on wall

this way all subscribers would see an update.

I want to do this from my code.


Answer I have accepted didn't solved my problem but ya it helped me a bit. I have accepted it as its the only answer this ques开发者_JAVA技巧tion has received.


I don't use C#, but I'll give you the steps to get you started:

  1. Grant the manage_pages permission
  2. Generate an Application access_token. Refer to this document (App Login section) (See EDIT)
  3. Call:

    https://graph.facebook.com/me/accounts
    
  4. Use the page's access_token retrieved to publish to your page.

EDIT:
No need for the Application access_token, please refer to this answer.

0

精彩评论

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