Facebook最近将其图谱api更新到v2.0(2014年4月30日)。现在要获取Facebook friend 及其个人资料图片的标准api调用是什么? (我/ friend 无法正常工作,因为我希望所有 friend 而不是使用该应用程序的 friend )
最佳答案
Next code will provide the taggable_friends with Url pictures at wanted sizes.
Session session = Session.getActiveSession();
Bundle params = new Bundle();
params.putString("fields", "picture.width(" + size.x + ").height(" + size.y + ")");
Request request = new Request(session, "/me/taggable_friends", params, HttpMethod.GET, new Request.Callback() {
public void onCompleted(Response response) {
}
});
Request.executeBatchAsync(request);
关于ios - 如何使用graph API v2.0获取Facebook用户 friend 和 friend 的个人资料图片?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23457294/