0
我想寫一個函數來允許像facebook羣組。我的代碼是大致如下:iOS,facebook sdk。像按鈕爲一個組頁面的具體例子?
NSString *urlString = [NSString stringWithFormat:@"%@/likes", fbIdentifier];
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
if (!facebook.accessToken) {
[self login:nil];
return;
}
[facebook requestWithGraphPath:urlString andParams:dict andHttpMethod:@"POST" andDelegate:self];
,其結果是:
Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x1dd77bc0 {error={
code = 3;
message = "(#3) Application does not have the capability to make this API call.";
type = OAuthException;
}}
我的問題不是一個重複,因爲很多答案指的是舊版本的Facebook SDK的或實例與外部頁面,對象等,但不是內部頁面。
謝謝。我修正了它,現在它寫道,它確實不支持像頁面的動作 – user2159978