开发者

Wordpress site generates JQuery code in excerpt when you press Facebook Share button HELP!

i have been facing what i believe is a JQuery issue that has been driving me开发者_如何学编程 absolutely nuts that no one can seem to solve. I was wondering if you might be able to help me out, it is probably a simple thing.

I have created a few websites using Wordpress and when the user clicks on the Facebook share button an error code pops up where the excerpt summary should appear every single time, i cannot figure out what it is! Example can be found here just click the "Facebook Share" button to see what i am talking about.

http://jaewong.com/ashkon/2011/06/19/post-2-video-hidden/

Sample error code appearing in Facebook excerpt

'; dtsl.front.init(); }); jQuery(window).load(function(){

jQuery(".hentry").imagefit(); }); .wp-polls .pollbar { margin: 1px; font-size: 6px; line-height: 8px; height: 8px; background-image: url('http://jaewong.com/ashkon/wp-content/plugins/wp-polls/images/defau

Hope you can help! Thanks!


You can put whatever you want as excerpt using the facebook og tag. just place this tag in the <head> tag of your template.

<meta property="og:description"
          content="Your excerpt here"/>

Check this page for customizing the content of the share link. http://developers.facebook.com/docs/opengraph/

Update:

it seems that your site is OK. I've checked that page with URL linter, http://developers.facebook.com/tools/lint/

Facebook has cached some content of your site which is appearing as error. I think it will be ok after some time

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜