Hi I have the facebook like button on my website right and im using the og properties and when i Like it, it just says Mike Likes ETC ETC ETC, its does not say Mike Likes "What i put in the og tag" and the og:image i have up does not seem to have any effect either.. right now im using the iframe, but before i used the javathing and the thumb nail was taking off a random picture of my site my site is, (contains sexually suggestive content at the moment) barrio.....girls.....com obviously without so many dots, and no space. sorry dont wanna seem like im spamming forum
Did you make sure you included the xmlns call in your html tag to the og schema? Like this ... <html xmlns:og="http://ogp.me/ns#"> HTML: For more info see http://opengraphprotocol.org/
facebook had some other stuff to put in the HTML tag area.. i dont know if i need it all or just one.. im confused
The facebook docs actually point to the full url to the og schema (http://opengraphprotocol.org/schema/) which is fine. The docs also include the schema for Facebook's FBML markup code (http://www.facebook.com/2008/fbml) which you don't need for the open graph tags to work. It doesn't hurt to have both included though as shown in the FB docs here http://developers.facebook.com/docs/opengraph
iv followed those docs as accureatly as possible, and it dont work.. but im about to change over the site anyways finally to wordpress so ill have other tools to work with. thank you
I took a look at your source code and it may not be working due to a couple of invalid entries in the meta data. Firstly the type should be one of the defined types given in the docs. You have it set as 'Adult Site' which is not a valid type. It should be set as just 'Website' as follows. <meta property="og:type" content="website"/> Secondly your url for your site does not include the http:// in the url. Your just reads www.*********.com. It should be http://www.********.com as follows. <meta property="og:url" content="http://www.**********.com"/> Good luck with the wordpress stuff. Check out the following plugin, it should take care of all the Open Graph meta tags for you. http://wordpress.org/extend/plugins/opengraph/
ah damn i tried it on the url listed above barrio....girls----.com/index1.html and it still does not work, the thumbnail display on FB activity is the picture of the media player scroll bar picture i have on the site, and it uses an OLD page title i had the other day.. wth.. man this is crazy
The other thing to know is that Facebook heavily caches a lot of things so if you tried it initially with the og tags missing or incorrect it may take a while for them to recrawl your page and correct the images and other meta tag information. Even if the tags are correct now it will still show up wrong on Facebook for a while. The best way to test it is to create a fresh page you know hasn't been crawled by Facebook and see if it works with that.
oh god.. thats really kind of lame.. i mean caching is cool but i cant believe iv been doing all this and its probably just caching.. i had no idea. guess its a waiting game now. thank you Ratty! i appreciate your efforts very much!
I've found that Facebook doesn't update things right away. There seems to be a short delay between the first LIKE and Facebook fetching the page to find the <meta> elements. I didn't even read the documentation, I just glanced through the docs looking for code snippets then read the bits of text around them. I'm using an HTML5 doctype and I'm not using any namespaces in my <html> element. Because of the way my pages are setup, Facebook finds everything but my image using the <title>, <h#>, and first <p> elements on the page. Other than an <iframe>, the only Facebook-specific code on my page looks like this, $ob_image = "<meta property='og:image' content='http://flipaq.com/{$row['image_path']}'/>"; Code (markup):
well it finally works for me, i imagen the things i fixed plus the waiting for facebook to update cache did it, only thing now if anyone can help , how do i get this to register with an app on facbook like so i can see how many people liked it? without going to the page and looking that way
I forgot what the tool was called before. Facebook has a tool called "Lint" that will show you what Facebook finds for each field as well as where it found each piece of information in the page. http://developers.facebook.com/tools/lint/
ahh what happend? i had it working i didnt change nothing.. now all the people who liked it, the number changed to 0! now when i try and like it, it asks me to leave a comment, like normal, but before i can type it auto unlikes it and dont allow me to comment.... wth happend??????? HEEEELP!!