与facebook应用程序共享大图片 [英] Sharing large pictures with a facebook application
问题描述
如何从应用程序中分享大图?
How do I share a big picture from an application?
我们有一个带有琐事测验的应用程序,但我们只能分享小图片。
We have an application with a trivia quiz, but we can only share small pictures.
是否可以以原始尺寸分享图片?
Is it possible to share a picture at the original size?
这里是测试应用程序的链接:
here is the link for testing the apps:
https://www.facebook.com/LeChampionDeBlueExorcistCommunity?sk=app_374441249291232
推荐答案
使用Open Graph与(大)用户生成的动作照片分享故事。
Use Open Graph to share stories with (large) user generated action photos.
文档在这里: https://developers.facebook.com/docs/opengraph/usergeneratedphotos/
这样的东西可以与Open Graph动作帖一起使用。
Something like this will work, in conjunction with an Open Graph action post.
https://graph.facebook.com/me/yournamespace:cook?
recipe=http://www.yourdomain.com/pizza.html&
image[0][url]=http://www.yourdomain.com/images/my_camera_pizza_pic.jpg&
image[0][user_generated]=true
您还可以将照片发布到用户的相册使用 https://developers.facebook.com/docs/reference/api/照片/ API
You can also post a photo to a user's albums using the https://developers.facebook.com/docs/reference/api/photo/ API
您选择使用哪部分取决于您的用例。
Which you choose to use partly depends on the use case you have in mind.
这篇关于与facebook应用程序共享大图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!