doumianfeng6979 2019-05-26 01:11
浏览 73

获取页面ID和页面访问令牌

I've been searching for awhile and I cant find the right answer to this problem. I'm trying to integrate my website with facebook API. I need to get my pages url videos. To do so I used the manage_pages permission. Thus, as a result of my search, I found that I need my page id, to make a request to {page-id}/videos.

To get page-id I'm making a request as follow:

 $response = $fb->get(
            '/me/accounts',
            $accessToken
        );
  (...)
  $graphEdge = $response->getGraphEdge();

Now, the problem is: I don't know how to get my page ID from $graphEdge. I'm receiving a response of GraphEdge type, but i really cant to get my page Id. In the graph API tool, $page-id is just inside data field.

One last question: To get my page url public videos, Am I doing It right, Am I? Best Regards

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
    • ¥15 gdf格式的脑电数据如何处理matlab
    • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
    • ¥100 监控抖音用户作品更新可以微信公众号提醒
    • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
    • ¥70 2048小游戏毕设项目
    • ¥20 mysql架构,按照姓名分表
    • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
    • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
    • ¥15 linux驱动,linux应用,多线程