I'm trying to use the new Social Framework to post a new post on Facebook.
[controller setInitialText:@".Thank's for help!"];
[controller addImage:[UIImage imageNamed:@"image.png"]];
[controller addURL:[NSURL URLWithString:@"http://stackoverflow.com/questions/ask"]];
No problem with these 3 lines of code. But when I try to eliminate addImage: I'm always receiving the same UIAlert:
My idea is to post an tipical URL on Facebook with an small text. But when I'm using the 3 lines of code, the new post is an image with a text = setInitialText: + addURL:
Any idea to solve the problem? It's a facebook problem or it's a framework problem?
Thank's
Today, after some days not working I can send missage to Facebook without UIImage. Sounds like Facebook/Apple has been arranged the problem.
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.