FACEBOOK GRAPH/rest api: how to LOGIN my OWN USER to update my STATUS with PHP

后端 未结 3 1967
深忆病人
深忆病人 2021-01-17 02:53

I want to update the status of a FAN-PAGE by PHP with the help of the Facebook graph api. google says: doesn\'t work.

Now I want to update my own user status by PHP.

3条回答
  •  情书的邮戳
    2021-01-17 03:24

    my main problem is how to login my own user to the graph api (with php), without using a browser and without funny php workarounds.

    There's no way for you to act on behalf of a user (even your own user) without interacting with him through a browser at least once to get the offline_access.

    How to get the offline_access permission and how to use it from there onward is explained in this answer.

    EDIT:
    Please read the comments! thanks @zerkms!

提交回复
热议问题