I want to post automatically on Facebook's wall.

Asked 2 years ago, Updated 2 years ago, 91 views

There is a blog site where several people are posting.
After the administrator approves the article, I would like to post the article on the contributor's wall.I am using the existing CMS, but I am planning to use PHP to batch posts on the wall.

Facebook app administrators and test users could use App access token to post after app approval.
*Is the behavior different for general users?
Also, do I need a user access token?

By the way, I am currently posting with a user ID.

$me=(new FacebookRequest(
 $session, 'POST', '/User ID/feed', $params   
))->execute()->getGraphObject(GraphUser::className());

"Posting to the wall requires ""publish_actions""."
I heard that the application is necessary, but is it necessary to have access to the application during the examination even in the case of batch processing?
Or is there a different procedure for batch processing?
I'm sorry to bother you at such a busy time, but I'd appreciate it if you could let me know.

php facebook facebook-graph-api

2022-09-29 21:40

1 Answers

developers.facebook.com/docs/apps/upgrading/?locale=ja_JP says, "Apps requesting permissions other than public_profile, email, and user_friends as part of a new Facebook login must be reviewed by Facebook." Publish_actions cannot be used without going through the review.
I guess you've read the document and understood it, but what's complicated is that administrators and test users can use it (test) even if they need to review it. So if you develop it thinking that it can be used even though it hasn't been reviewed yet, it won't be used by ordinary users and it will end up like, "Huh?"
By the way, the reviews rarely go through.


2022-09-29 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.