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

Upvotes: 2

Views: 853

Answers (1)

James Pearce
James Pearce

Reputation: 2332

Use Open Graph to share stories with (large) user generated action photos.

The documentation is here: https://developers.facebook.com/docs/opengraph/usergeneratedphotos/

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

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.

Upvotes: 1

Related Questions