duan0818 2011-10-06 13:10
浏览 144
已采纳

如何检查是否有人分享了我的网页帖子? 使用Facebook API

I have the read_stream access from user, I want to award him some points if he shares one of my pages' post. Now I have Claim Point button so I can crawl his posts, and I want to check if he has shared my page's post (using Share link of Facebook, near Comment and Like ). I had an Idea, if someone shares others' post it appears as a link, so I tried to match the link with my page's link, but if its a Facebook link (or post like status, note) then url form below FQL returns null. Same happens with Graph API (link doesn't appear).

select url,link_id,title from link where owner=me()

It works fine if its an external link (which is not helpful for me).

So what's the problem here? And I am open to other ideas, to check if user has shared my post.

Any help is appreciated.

  • 写回答

2条回答 默认 最新

  • dounaidu0204 2011-10-08 14:59
    关注

    I have found a solution. Normal calls don't return Shared Posts' links at all. But Feed returns, so crawling feed makes my task done.

    https://graph.facebook.com/me/feed/?access_token=your_access_token

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥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应用,多线程