开发者

upload photo and publish story using FBConnect

In my iphone app,I want to let the user upload an image to his facebook photo Album and publish a story at the same time.The story's media field contains the uploaded image's url.I successly uploaded the photo and got the result's "link" and "src_small" property.But when I use FBStreamDialog to publish the story,I got:

upload photo and publish story using FBConnect

(source: sinaimg.cn)

At last,I find this:http://developers.f开发者_开发百科acebook.com/live_status#msg_625,it says:

We no longer allow stream stories to contain images that are hosted on the fbcdn.net domain. The images associated with these URLs aren't always optimized for stream stories and occasionally resulted in errors, leading to a poor user experience. Make sure your stream attachments don't reference images with this domain. You should host the images locally.

It seems that I can't finish my job,What's your solution? thanks in advance!


you can't use that picture or the picture from facebook itself

you can upload the picture on other servers or upload it to online photo sharing like picasa


I got this functionality to work with ShareKit - it's really good: http://www.getsharekit.com/

It's also open source, so you can see how they do it inside...

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜