Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

post on facebook page wall as facebook admin through facebook php api

I would like to post feed to facebook page wall as page admin. I can publish post to facebook wall with publish_stream from fb php api, but it is just as a normal facebook user. May I know how can I do likewise as a page admin (meaning that the post publish from facebook page and not from other fb user on the page wall)? Thank you. It is urgent.

Regards, Benjamin

like image 728
davidlee Avatar asked Jun 09 '10 19:06

davidlee


2 Answers

Just come across this question. This was a know bug within the Graph API which has now been addressed. There is an additional permission named manage_pages which has been added to the list of extended permissions. If you request this permission as part of your authentication process then you should be up and running.

Further information can be found in the documentation and the bug fix that has been put in place.

like image 55
simnom Avatar answered Sep 20 '22 23:09

simnom


it is mentioned here. If you want to post to Page Wall as Page, use page id in the UID not in the target_id.

Pages can't post to other pages.

If you want to post to Page Wall as Application, use page id in the target_id, and the app id in the UID here

like image 22
bilgidostu Avatar answered Sep 21 '22 23:09

bilgidostu