ios 앱에서 Facebook에 게시하는 중입니다. 나는 잘 작동하지만 어떻게 든 작동을 멈췄다. 나는이 시점에서 사용자 인증 및 모든 그게 전부 내가 아래 포스트facebook post 작업 url 오류
currentAPICall = kDialogFeedUser;
SBJSON *jsonWriter = [[SBJSON new] autorelease];
// The action links to be shown with the post in the feed
NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
@"someName",@"name",@"www.validurl.com",@"link", nil], nil];
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
// Dialog parameters
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
shareInfo.facebookShareText, @"name",//name is heading with link to above
@"text text text", @"caption",// caption makes text grayed out
@"more wonderful text", @"description",// block text for the share
shareInfo.shareUrlShort, @"link",//actual link
shareInfo.facebookShareImage, @"picture",//url of picture to be displayed
actionLinksStr, @"actions",
nil];
//the post's action links must be valid urls
//make post to wall feed
[_facebook dialog:@"feed"
andParams:params
andDelegate:self];
내 코드입니다 "게시물의 액션 링크가 유효한 URL을해야합니다"페이스 북에 게시 할 때 그냥 날이 오류를주고 유지 벌금을 가지고
오류가 그 안에 링크가 유효하지 않기 때문에 내가 params에서 actionLinksStr을 제거하면 게시물이 작동합니다. 이것은 몇 달 동안 일해오고 있었지만 오늘 시도했을 때 멈 췄고 다시 작동하지 않을 것 같습니다. 이 오류가 갑자기 실제 공유 코드를 변경하지 않고 시작되는 이유를 아는 사람이 있습니까? 액션 링크로 전달되는 URL은 확실히 유효합니다. 모든 도움을 많이 주신 덕분에 편집 : facebook dev 사이트의 버그로 신고 할 예정입니다. 내가 거기에서 어떤 의견을 얻을 수 있는지보십시오. 아직도 나에게 신비가있다