How to send defaul text from FBPhotoParams

I don’t want to use the open graphical API due to their recent restrictions on providing the application for permissions, so I use a simple share dailog to share the photo with the title

[FBDialogs presentShareDialogWithPhotoParams:params
        clientState:nil
        handler:^(FBAppCall *call, NSDictionary *results, NSError *error) {
            if (error) {
                NSLog(@"Error: %@", error.description);
            } else {
                NSLog(@"Success!");
            }
 }];

But I want to add default text also in status, can someone help me, how can I achieve this?

+4
source share

Source: https://habr.com/ru/post/1547238/


All Articles