doumibi6899 2015-08-14 09:04
浏览 85

在facebook管理页面上发布我的帖子

I need get ME posts in one of my manage pages, with the new version of facebook sdk.

Example:

I'm manage on Page A, and add a post in my name Adexe Rivera, and in this page there are a lot of posts. So I want to filter only posts by Adexe Rivera.

I know for get posts on pages it's necesary /page/feed, but I need add the filter from user.

I tried with Graph Api Explorer, with this FQL:

SELECT source_id, actor_id, post_id, target_id, message FROM stream WHERE source_id = "PAGE_ID" AND actor_id = "MY_ID"

and get the information that I'm searching.

But I know that since v2.0 FQL not works for sdk, so that I need it's make the same like FQL works in this version of graph

I already tried what documentation said, but not get my posts.

A user access token is required to retrieve posts visible to that person.

Thanks in advance

  • 写回答

2条回答 默认 最新

  • douxuexiao1748 2015-08-14 09:22
    关注

    Filtering is not possible, you can only use the existing endpoints and filter on your own after getting the entries. There are several different endpoints, make sure you are using the correct one. They are all documented very well: https://developers.facebook.com/docs/graph-api/reference/v2.4/page/feed

    Also, an App Access Token should be enough to get access to the endpoints if it´s a public post on a non-restricted Page:

    An access token is required to view publicly shared posts.

    If you don´t know about Access Tokens, read those articles:

    评论

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么