我需要在照片和状态中获得一个facebook用户列表.
我尝试使用graph api来查询/ me/locations',如:
$this->api->api('/me/locations?limit=1000');
Run Code Online (Sandbox Code Playgroud)
它返回了一个包含三种不同类型的用户签到列表:照片,签到或状态.
我的问题是,我需要获得有用户签到的照片,但我似乎无法找到它.
有人可以帮忙吗?
谢谢
我使用Facebook SDK 3.1.1进行登录以及使用Facebook登记.使用Facebook登录它工作正常,但CheckIn使用图形API会出错.
这是我为checkin @"friends_status",@"user_checkins",@"friends_checkins",@"user_status"提供的所有权限.
这是请求:
[FBRequestConnection startForPostStatusUpdate:message
place:placeId
tags:nil
completionHandler:
^(FBRequestConnection *connection, id result, NSError *error) {
NSLog(@"Response....... \n\n %@ %@ %@",connection,result,error);
}
];
Run Code Online (Sandbox Code Playgroud)
响应:
)>(null)Error Domain = com.facebook.sdk Code = 5"操作无法完成.(com.facebook.sdk error 5.)"UserInfo = 0x808a5a0 {com.facebook.sdk:ParsedJSONResponseKey = {type = mutable dict,count = 2,entries => 1:{contents ="code"} = {value = +403,type = kCFNumberSInt32Type} 2:{contents ="body"} = {type = mutable dict,count = 1 ,entries => 11:{contents ="error"} = {type = mutable dict,count = 3,entries => 2:{contents ="type"} = {contents ="OAuthException"} …
我希望在我的地方获得所有登记入住的用户.但Facebook仅提供我朋友列表中可用的用户.
我尝试过以下链接.
https://graph.facebook.com/search?type=location&&place={My Place ID}&access_token={My Access Token}
Run Code Online (Sandbox Code Playgroud)
任何人都可以通过Check-In API获取My Place上的所有用户(不仅仅是我的朋友中的哪些用户)列表是否可行?
提前致谢....