I need to share a link to facebook and have an image on the wall of bigger size. I share a link as follows:
FB.ui(
{
method : 'feed',
name: 'the name whatever',
caption: 'some caption',
description: 'description',
link: '',
picture: photo_url
},
function (response) { ... }
);
The picture is bigger then 154x154, i tried size 180x180 (i read somewhere in the docs it's required 180x180), but it ends up of size 90x90 on the wall anyway :(.
If i remove the picture parameter the image will be taken of the og:image meta tag, but it is still 90x90 pixels! If i post the link myself i can see it grabs the correct size - so when i post to wall myself it posts image of size 154x154, but how can i do the same to post it via the api facebook provides?
Tried it this way as well - works the same, please help :(
FB.api('/me/feed', 'post',
{
link : '',
picture : photo_url
},
function (response) { ... }
);
This is when posted manually, a direct link to a site(image taken off the meta tags):
This is when shared via api(original: .jpg ):
When no "picture" argument is provided it posts the "TEST IMAGE" from meta tags, but still with the size 90x90
I need to share a link to facebook and have an image on the wall of bigger size. I share a link as follows:
FB.ui(
{
method : 'feed',
name: 'the name whatever',
caption: 'some caption',
description: 'description',
link: 'http://mysite./some_page',
picture: photo_url
},
function (response) { ... }
);
The picture is bigger then 154x154, i tried size 180x180 (i read somewhere in the docs it's required 180x180), but it ends up of size 90x90 on the wall anyway :(.
If i remove the picture parameter the image will be taken of the og:image meta tag, but it is still 90x90 pixels! If i post the link myself i can see it grabs the correct size - so when i post to wall myself it posts image of size 154x154, but how can i do the same to post it via the api facebook provides?
Tried it this way as well - works the same, please help :(
FB.api('/me/feed', 'post',
{
link : 'http://whatever_mysite./some_page',
picture : photo_url
},
function (response) { ... }
);
This is when posted manually, a direct link to a site(image taken off the meta tags):
This is when shared via api(original: http://www.dandybooksellers./acatalog/TheoryTest.jpg ):
When no "picture" argument is provided it posts the "TEST IMAGE" from meta tags, but still with the size 90x90
Share Improve this question edited Mar 14, 2013 at 10:02 igrek asked Mar 13, 2013 at 12:59 igrekigrek 1,4251 gold badge12 silver badges29 bronze badges1 Answer
Reset to default 1The URL of a picture attached to this post. The picture must be at least 50px by 50px (though minimum 200px by 200px is preferred) and have a maximum aspect ratio of 3:1
For more detail, please refer: http://developers.facebook./docs/reference/dialogs/feed/