简体   繁体   English

Android:如何使用Graph API从Facebook朋友墙上获取帖子

[英]Android: How to fetch posts from a Facebook friend wall using Graph APIs

Working Environment: Android Studio 1.0.2 + Facebook SDK 3.22.0 + Java 工作环境: Android Studio 1.0.2 + Facebook SDK 3.22.0 + Java

My question consists of two parts:- 我的问题包括两部分:

P1: Is it really true that if I want to fetch one of my friends posts, s(he) must use my application first and grant it the required permissions? P1:是真的,如果我想获取我的一个朋友帖子,他(他)必须首先使用我的应用程序并授予其所需的权限吗? or this was an old technique: enter link description here 或这是一种古老的技术: 在此处输入链接描述

P2: How can I fetch - Using code - posts from my friends walls? P2:如何从朋友墙中获取-使用代码-帖子?

Thank you :) 谢谢 :)

You can't get the wall of friends. 你无法挡住朋友的墙。 You can only get the wall posts of the authorized User. 您只能获得授权用户的墙贴。 Friend permissions are gone completely, you are not supposed to read the wall of a friend for privacy reason. 朋友权限已完全消失,出于隐私原因,您不应该阅读朋友的墙。

More information: https://developers.facebook.com/docs/apps/changelog 更多信息: https : //developers.facebook.com/docs/apps/changelog

Code about getting the wall posts can be found in the Facebook docs too: https://developers.facebook.com/docs/graph-api/reference/v2.2/user/feed 也可以在Facebook文档中找到有关获取留言的代码: https : //developers.facebook.com/docs/graph-api/reference/v2.2/user/feed

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

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