简体   繁体   English

我如何从Facebook Python SDK中获取Facebook帖子与Facebook状态

[英]How can I get a facebook post vs a facebook status from the facebook python sdk

I'm trying to access a user's posts from their wall using the python sdk . 我正在尝试使用python sdk从用户的墙访问用户的帖子。 I want the POST object not the STATUS object. 我想要POST对象而不是STATUS对象。 Does anyone know how I would do this? 有人知道我会怎么做吗? Using get_object(id) returns the status object, not the post object. 使用get_object(id)返回状态对象,而不是post对象。

Thanks 谢谢

Apparently if you append the userid and the postid, it returns the post instead of the status objects. 显然,如果附加userid和postid,它将返回帖子,而不是状态对象。

So for example: get_object("100006765630328_1380118238890351") will return a POST object, whereas get_object("1380118238890351") will return a STATUS object. 因此,例如: get_object("100006765630328_1380118238890351")将返回POST对象,而get_object("1380118238890351")将返回STATUS对象。

I posted a fuller description here: http://bugsnpieces.blogspot.com/2013/09/facebook-post-vs-status-objects.html 我在这里发布了更完整的描述: http : //bugsnpieces.blogspot.com/2013/09/facebook-post-vs-status-objects.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM