Reputation: 5077
Im trying to use the new Share Dialog and it works fine when the facebook app is not installed and im sharing with my own viewcontroller:
if (!call) {
// Fallback to customized share UI
MyShareViewController *viewController = [[MyShareViewController alloc] initWithItem:object
objectType:@"objecttype"
actionType:@"namespace:action"];
[_delegate showFallbackShareDialog:viewController];
}
So this code only gets called when the facebook app isnt installed. When it is installed the device opens the facebook app and here the user can type a message which will be included in the open graph action
But after a few second my devices switches back to my app and this error shows up:
Error: Error Domain=com.facebook.Facebook.platform Code=102 "The operation couldn’t be completed. (com.facebook.Facebook.platform error 102.)" UserInfo=xxxx {error_code=102, action_id=xxx-xxx-xxx-xxx-xxx, error_message=Could not generate preview text, app_id=xxxxx}
I've been searching the web for an explanation but just can't find whats wrong. Does somebody know what this error means?
EDIT notice the greyed out "Post" button.
Upvotes: 2
Views: 1102
Reputation: 13833
Check following
Upvotes: 1