Reputation: 41
While it used to be the case that a link could only have a small (90x90) picture, it appears that links can now have larger pictures (e.g. 400x208) in your feed.
You can see this if you paste a link that has a large og:image into the "Update Status" field on the Facebook UI (e.g. http://allthingsd.com/20131003/facebook-tries-to-make-home-more-inviting-by-welcoming-photos-from-other-services/ )
It also seems that some 3rd party apps are able to post a link to your feed as well - For example, if I post the above link with HootSuite the picture appears in the large size.
But, when we've tried it with the graph API, we can't seem to get anything but the small 90x90 pictures with a link.
When using the Graph API, does anyone know what fields need to be passed into /me/feed (or /me/links) in order to get the bigger picture? It doesn't seem that link, title, description, and picture is enough - the picture still ends up being small in this case.
Thanks!
Upvotes: 4
Views: 2207
Reputation: 11
You can add custom field list for returning object.
?type=large will return full size image.
example: responsePost = objFacebookClient.Post("/me/feed", parameters) + "?type=large";
Upvotes: 1
Reputation: 1281
Not sure if you sorted this out yet. But I was able to post a large image and link using the below with PHP and cURL over OG.
$data['picture'] = "http://www.example.com/image.jpg";
$data['link'] = "http://www.example.com/";
$data['message'] = "Your message";
$data['caption'] = "Caption";
$data['description'] = "Description";
I followed this tutorial.
Obviously your source picture needs to be large. I think I used 900x900. It didn't come out that big. But it was considerably larger than 90x90 or anything else on FB.
Upvotes: 2