简体   繁体   中英

Autopost on facebook users wall

i have a task to automatically post from my site on users wall they are logged in the same browser once giving all the permissions it should never ask again for giving permissions means all the next post should be posted automatically on that users wall. can anyone help me ?

Rquire a stream_publish permission (for example with redirect) and do a graph api call of type post to /me/feed/ by PHP Facebook API.

After receiving permission you shuld exchange your access token to long-lived access token which will be fine for about 60 days.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM