views:

22

answers:

2

I'm using the Graph API to post to a user's wall via a 3rd party website. The update contains a link to said 3rd party website. (In functionality, it's kind of like just putting a Facebook "Like" button on the 3rd party page, except I want some more finely-tuned control over how the caption looks on Facebook.)

I am not specifying a picture for the post. When the post is created, Facebook's bot automatically connects to the 3rd party page specified in the link and selects an image to use as a thumbnail. Sadly, the image is almost never relavant, and I would just rather Facebook not look for a thumbnail at all.

I can probably put some Open Graph tags on the page to help out Facebook's bot, but I don't see a way to use Open Graph to specify that you'd like to have no image, and that Facebook shouldn't choose one automatically.

Any way to do this?

A: 

When you publishing the the stream, include the "picture" property in the request and just set it to an empty string. This will ensure you dont have a url on the post. My other suggestion would be to put the Open Graph tags on the pages you are sharing. This will ensure that both you and others who share the url will have the correct data and images show on Facebook. http://developers.facebook.com/docs/opengraph

Nathan Totten
Thans, I tried that already and still the Facebook bot connects to the 3rd party site and grabs an inappropriate thumbnail.
Sean
I didn't realize you were 'liking' a third party url. If the site is at a third party you don't control then you aren't going to have too many options as far as controlling the content. Any time the site owner wants to change the content they just have to put up the open graph meta tags.
Nathan Totten
I do have control over the 3rd party site, and could make changes to it. It's just that, as far as I know, there is nothing I can do to make Facebook _not_ try and grab a thumbnail from the site. Setting the picture to an empty string when using the Graph API doesn't stop it.
Sean
Set it to an image that doesn't exist or a single pixel transparent image.
Nathan Totten
A: 

Although Facebook seems to ignore the picture set to an empty string in the Graph API call, setting an Open Graph tag for the picture which is an empty string seems to have done the trick.

Sean