dougou8639 2014-01-03 18:37
浏览 57

Facebook自动发帖停止了工作

Our company has been using Facebook's facebook.php and base_facebook.php files to auto-post entries to client's Facebook pages. Recently they have all stopped working and the only error we can get is an unexpected error has occured.

We cannot find a solution to this and we were wondering if anyone in the community has ran into this and can guide us in the right direction?

  • 写回答

1条回答 默认 最新

  • dongtuan1594 2014-01-03 18:41
    关注

    That is because the token may have been expired. As the token is valid is just 2 hours after login.

    You need to exchange your old token with a new one which has 60 day validity. The link exchange will be like this..

    https://graph.facebook.com/oauth/access_token?
    client_id=APP_ID& client_secret=APP_SECRET& grant_type=fb_exchange_token&fb_exchange_token=YOUR_OLD_ACCESS_TOKEN
    

    The return response will be a 60-day validity token (something like below)

    CAAAAjls08023jjFK9238024HDSD&expire=1..................
    
    评论

报告相同问题?

悬赏问题

  • ¥15 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示