I am trying to post to Facebook from my iOS app using the Social Framework.
Using the SLComposeViewController, I have successfully added text and image to a Facebook post
SLComposeViewController *postVC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[postVC setInitialText:messageText];
[postVC addImage:[UIImage imageNamed:@"share-this.png"]];
[self presentViewController:composeVC animated:YES completion:nil];
Now, the user of my app can post multiple times to their timeline within minutes. When I try this, Facebook collates all the posts into the album "iOS Photos" and does not show it as a separate post. This is what it shows -
John Doe added 3 photos to the album iOS Photos.
I want to know if there is a way that I can post them as separate posts and not having them collated into an album.
Can I do this using the SLComposeViewController's methods itself or do I have to manage posting to Facebook myself using the various Account management APIs in Social Framework?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…