How do I select an image to show as a thumnail for when someone likes something on a site. Right now I have this
<fb:like layout="button_count" colorscheme="light" href="myurl" ref="something" show_faces="false" width="150"></fb:like>
When something is liked it seems like a random image is sent to the facebook wall, I'd like to send a specific image. to facebook based on what page my content was liked
I think it's the Facebook Open Graph tags you are looking for, specifically the og:image tag.
Try viewing these links:
http://developers.facebook.com/docs/reference/plugins/like/ specifically the "open graph tags" section.
http://developers.facebook.com/docs/opengraphprotocol/
Related
I'm working on the obituary section of a funeral home website. Users can click the SHARE button under the person's picture to post the link to Facebook.
Obituary listings
I have meta-tags for the page title and image, labeled like Facebook tells you to: <meta property="og:title"... and <meta property="og:image".
The problem is, the title and image that show up when you click the share button don't always show like they're supposed to. Sometimes the photo and person's name are right, but sometimes Facebook just picks the site's header image instead of the photo, and the site's title instead of the person's name.
Does anybody know why it isn't working consistently?
It looks like this is a Facebook cache issue, which there's nothing I can do about.
I have as an example this page.
http://www.kefet.com/content/article.html?langId=90&artLang=en
If you go to that link after logging to your facebook account and try to share the article,
on the title it shows you the url in stead of the title of the article.
I went to check with facebook debugger, and obviously it said that I have the URL on
og:url http://www.kefet.com/content/article.html?langId=90&artLang=en
og:title http://www.kefet.com/content/article.html?langId=90&artLang=en
Yet when I go to see my source code of my page, I see all correct. Is there anyone that can help me and tell me what do I need to change in order to show the title of the article where it belongs?
Thank you!
The problem may be facebook uses cache for OG tag.
You can use sharer.php as below :
http://www.facebook.com/sharer.php?s=100&p[url]=your_url&p[images][0]=image_url&p[title]=your_title
I need a method to get likes for my facebook page directly by cliking on a picture
I mean when a visitor of my website click in a specific picture he automaticaly likes my page
with facebook social plugin I got this link but it doesn't make you liking the page automaticaly you need to click the like button and confirm
I don't know how to get that link or html code , "I visited a website uses this method"
I hope you can help me
I researched this as well but I can confirm you that, since this could be easily abused to mislead the client and obtain a load of likes, it is not possible in an official, Facebook-approved way.
When I click on the fb "like" button on my website, the result does not look good on facebook. The picture displayed on FB is the logo of the website, unfortunately my logo is white, so white logo on white background does not look good. Is there a way to tell facebook to display an other image instead? I tried meta property="og:image but without success. Thanks
Try the Facebook Linter to see the results Facebook is pulling from your site's og-meta tags.
https://developers.facebook.com/tools/debug
Whenever I change any of the values for one of my sites, I use this tool to validate what can be seen on FB, and it also accelerates updating the open graph, because sometimes, results are not immediately pulled from your site when updated because older values reside in the cache.
Every time I try to embed code that was recommended by another user, I get the same message: Could not retrieve id for the specified page. Please verify correct href was passed in.
All I want is something on my page that a reader can click to take them to my Facebook page. What am I doing wrong?
You can create a personal username for your account on facebook, check Facebook Usernames general information, creating a username will provide you with a custom url something like
www.facebook.com/YOURUSERNAMEHERE
you can easily add this to your blog by using the following html
Follow me on facebook
It would also be helpful if you post the code that you're trying to use currently, otherwise no one has any idea what you're trying to do.
If you just want a link in HTML to your facebook page, put this into your page:
My Facebook Page
The section that goes within the quotes should be the URL you see when you navigate to your Facebook page.
Are you talking about a Page or Profile?
For Pages, the Like Box plugin is probably the best option, and lets people like the Page right from your website: https://developers.facebook.com/docs/reference/plugins/like-box/
For your own Profile, there's Badges ( https://www.facebook.com/badges/ ) which you can use
If it's your own Profile and you want people to Subscribe to you ('Follow') - there's a subscribe button you can use for this: https://developers.facebook.com/docs/reference/plugins/subscribe/
i dont know why, but for some reason, you have to include the http:// before the link