Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programmatically check the "No Thumbnail" check box when posting a link

Our application allows our users to post messages to Facebook. If a users wants to post a link such as http://yahoo.com in a message, an image appears with the link in the post.

When posting a message with a link directly on Facebook, it give you the option to check the "No Thumbnail" box so that the image is not shown. How can I do this programmatically using the graph.facebook.api?

like image 651
Jim Buechler Avatar asked Oct 11 '12 19:10

Jim Buechler


2 Answers

If you just want to post link from your site, then just don't pass other parameters and just pass message field with your link and it'll post only the link without any other fields.

But if you want to post as full message but no thumbnail, then don't pass picture param.

It would be better if you could share your code so we can suggest you the right solution, if the above doesn't help you.

like image 115
Syed I.R. Avatar answered Nov 12 '22 11:11

Syed I.R.


I think you should take a look at this https://developers.facebook.com/bugs/190261237768904 . It was a bug that has now been fixed. It points to an approach where you specify a picture parameter but leave its value empty.

like image 44
Maneksh Veetinal Avatar answered Nov 12 '22 09:11

Maneksh Veetinal