我需要在Facebook頁面上發佈消息。具體而言,我想通過cron
發佈。使用Facebook API 5.0獲取頁面訪問令牌PHP
下面介紹一下API文檔說:
Page Access Token – These access tokens are similar to user access tokens, except that they provide permission to APIs that read, write or modify the data belonging to a Facebook Page. To obtain a page access token you need to start by obtaining a user access token and asking for the manage_pages permission. Once you have the user access token you then get the page access token via the Graph API.
我怎麼能確定地獲得一個頁面回調用戶訪問和頁面訪問令牌?這可能嗎?
你想從cron或PHP做到這一點嗎? –
@NateBarbettini即使用cron也可以是PHP,這不排除彼此......? –
@AxelAmthor夠公平的,我忘記了。 –