how to post facebook user wall/ page status by a single user only no app install for other users

后端 未结 2 1334
一生所求
一生所求 2021-01-06 12:30

I am working on a site and i need to post page links from that site to a special user wall or page if something is published on it which means i only need one user to post t

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-06 13:32

    You can write a backend script (maybe a cron job using the FB PHP-SDK) that runs as the special user and makes the desired FB api calls. For this, you will want to use a long-lived access token, which needs to be renewed every 60 days. You might also try your FB api calls using an App Access Token, which do not expire but also do not support all FB publishing and other operations.

提交回复
热议问题