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.
Check following
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.