[英]Get facebook albums and album images?
Hello Friends 你好朋友
I am trying to get facebook album of a user . 我正在尝试获取用户的Facebook相册。 Problem is that it is returning albums for the user who is created the facebook app or who is the admin of that application . 问题是它正在为创建了Facebook应用程序或该应用程序管理员的用户返回相册。
For rest of the users it is returning the empty array 对于其余用户,它将返回空数组
new Request(session, "/me/albums", null, HttpMethod.GET,
new Request.Callback() {
public void onCompleted(Response response) {
System.out.println("Responce "
+ response.getGraphObject());
}
}).executeAsync();
This work for me because i have create a facebook app and for the rest of the users it is not returning the data. 这对我来说是有效的,因为我已经创建了一个facebook应用程序,而对于其他用户而言,它没有返回数据。 Please let me know how to resolve this. 请让我知道如何解决此问题。
Thanks Amit 谢谢阿米特
Since you probably ask for the user_photos permission already (else it would not work for the admin), there are two possible problems why it does not work for other users: 由于您可能已经请求了user_photos权限(否则它对管理员不起作用),所以存在两个可能的问题,为什么它对其他用户不起作用:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.