Facebook SDK for .NET and Graph API Explorer news feed mismatch

◇◆丶佛笑我妖孽 提交于 2019-12-20 03:19:46

问题


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?


回答1:


This is similar to this question.

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

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) 


来源:https://stackoverflow.com/questions/26589664/facebook-sdk-for-net-and-graph-api-explorer-news-feed-mismatch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!