Facebook SDK for .NET和Graph API Explorer新闻Feed不匹配 [英] Facebook SDK for .NET and Graph API Explorer news feed mismatch

查看:132
本文介绍了Facebook SDK for .NET和Graph API Explorer新闻Feed不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序正在使用Facebook sdk通过 client.Get(request_string)其中 request_string =/ me / home< some_filters> 。我发现sdk和api的exprrer返回不同的结果与相同的请求字符串。为什么会发生这种情况?

And application is using facebook sdk to get user newsfeed via client.Get(request_string) where request_string = "/me/home<some_filters>". And I discovered that sdk and api exprorer return different results with the same request string. Why can it happen?

推荐答案

这与这个问题类似。

通过Graph API / me / home 在feed上看不到某些帖子

Some posts not visible on the feed through Graph API /me/home

原因是Facebook的分数节点,以获得最多的热门故事。默认情况下,低评分节点不可见。您可以强制使用

The reason is Facebook "scores" nodes to derive the most "Top Story". Low scoring nodes are by default not visible. You can force all nodes with

/me/home.filter(owner)<some_filters>

没有关于为什么这个实际工作的文档,但它是。您还可以通过执行以下操作强制所有节点为喜欢或评论:

There is no documentation on WHY this actually works, but it does. You can also force all nodes that are Likes or Comments by doing the following

me/posts?fields=likes.filter(stream),comments.filter(stream) 

这篇关于Facebook SDK for .NET和Graph API Explorer新闻Feed不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆