Welcome to WebmasterWorld Guest from 54.167.10.145

Forum Moderators: httpwebwitch & not2easy

Message Too Old, No Replies

cant get send button right

     
7:55 pm on Jul 21, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


Hi peeps
I have added the fb post to profile button to my webpage however once people hit the button i keep getting the wrong text title and description and image, how can I change this?
8:12 pm on July 21, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 2002
posts:729
votes: 8


Facebook pulls the info from the page meta property og tage content. Examplified below:

<meta property="og:title" content="title text" />
<meta property="og:type" content="non_profit" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://www.example.com/images/image.jpg" />
<meta property="og:site_name" content="Site name" />
<meta property="fb:admins" content="#*$!000#*$!000" />

This is documented in the section on placing a share/like button on a webpage in the FaceBook developers help section.
8:24 pm on July 21, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


I have done this yet its not pulling it what have i done wrong
8:41 pm on July 21, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 2002
posts:729
votes: 8


Try running your HTML thru a validator - fix all reported errors and warnings. Might find it right off :-)
8:52 pm on July 21, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


i know there are a quite a few errors on the validation side of things, but will that really make much of a difference?
10:41 am on July 22, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


i have just tried this on a page with absolutely no errors and it still don't work properly
6:46 pm on July 22, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 2002
posts:729
votes: 8


Try the button in a fresh (empty - no content whatsoever) page to see if it's your button coding or the page you placed it in.
9:17 am on July 23, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


yes that's what I have done and still does not work
12:14 pm on July 23, 2011 (gmt 0)

Full Member

5+ Year Member

joined:June 21, 2007
posts:316
votes: 0


Have you run your url through the url linter tool? [developers.facebook.com...] Sometimes this forces facebook to crawl your site and fix these errors. Other times I've noticed this is just down to allowing time for them to crawl it.
10:30 pm on July 23, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


no I haven't and I shall try this and let you know.
11:11 am on July 24, 2011 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Jan 26, 2004
posts: 636
votes: 0


great works a treat, I think it was because I placed the facebook post behind comment post. I have now placed on the pre post also and works well. Thank you. Is there anyway I can add parameters into the message?