facebook likebox no posts just checkins - facebook

We are having a problem with our newsfeed - it is essentially a likebox plugin to save having to update both the website and our facebook page.
Using an iframe, the facebook page populates the newsfeed. If the viewer of the website is not logged into facebook everything is working correctly.
HOWEVER - if the person is logged into facebook (as most people seem to be!) none of the posts on the facebook page are feeding through to the website and it is simply showing the latest check in.
Is this a common bug? I am using the code directly from the facebook developers page:
http://developers.facebook.com/docs/reference/plugins/like-box/
I have tried using the XFBML version as opposed to the iframe but getting the same result.
Does anyone know of a way around this!? Its killing me!
Thanks
JD

You need to add the following attribute:
force_wall="true"
to your iframe. it was added a couple of months ago - see here: http://developers.facebook.com/docs/reference/plugins/like-box/ and scroll down to attributes.

This was a bug in Facebook and it was fixed in July 2011.
Refer to this post
http://bugs.developers.facebook.net/show_bug.cgi?id=16656#c41
you have to add
force_wall="true"
So for example, if you are using iframe version, you can add it at the end of src like below.
<iframe src="http:INSERT YOUR WEBSITE HERE;width=292&colorscheme=light&show_faces=true&border_color&stream=true&header=true&height=427&force_wall=true"
scrolling="no" frameborder="0" style="border:none; overflow:hidden;
width:292px; height:427px;" allowTransparency="true"></iframe>

Related

in wordpress site facebook like button not working properly after using different url

I am using wordpress for my site. Recently i changed the url of all my posts because the old url is quite long. But The old url has lot of facebook likes. So i am trying to use the old url for facebook likes count. I could do 80% of the job but getting stuck up in the last.
The new url of one of my posts is "http://www.leadershipandspirituality.com/servant-leadership-2/control-vs-influence-three-levels-of-leadership/"
To avoid confusion of urls: i will name them
url_new = http://www.leadershipandspirituality.com/servant-leadership-2/control-vs-influence-three-levels-of-leadership/
url_old = http://leadershipandspirituality.com/articles/articles-on-servant-leadership-by-radhanath-swami/servant-leader-or-both/
I am using redirector plugin to redirect "url_old" to "url_new"
So used the url_old in the code for facebook likes
<iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:65px; height:65px;" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.leadershipandspirituality.com%2Farticles%2Farticles-on-servant-leadership-by-radhanath-swami%2Fcontrol-vs-influence-three-levels-of-leadership%2F&layout=box_count&show_faces=false&width=65&action=like&font=arial&colorscheme=light&height=65"></iframe>
Now the page displays the likes counter according to the url_old. Till that i am successful
Now the problem part comes:
i loged into facebook and try to click on the like button. Then nothing happens. the like counter does not increase. But in one or two posts the like increased in the normal way but when i refreshed the page the likes became zero. So i feel like lost my likes.
Using the iframe code facebook generates the total likes count. So i dont have any control on how facebook is working.

Facebook returns 404 error on website

We have a website, but Facebook does not like our website.. All users can visit it, Google has no problems with it, Google Webmaster tools displays the correct website, but the Facebook Graphs API and the debug tool are return a 404 error.
The website it's about:
http://www.gekvanfietsen.nl/ervaringen/11,ervaringen_met_de_santos_travelmaster_28_alu.html
Here are some screenshots of the response code in Chrome and from the Facebook Debugger:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.gekvanfietsen.nl%2Fervaringen%2F11%2Cervaringen_met_de_santos_travelmaster_28_alu.html
Hoping someone could help me, we've tried everything we could think of.. Double checking .htaccess, checking for any 404 headers and whatsoever.
It might be related to W3TC settings:
http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-facebook-404-error-on-debugging
I will suggest, you refer to the FB API again. Use this JavaScript API that is easy and most browsers supports it.
If you are just looking for a Like button with a count, you are looking in wrong place.
Refer to this Social Plugin Like Button, fill out the form and choose Iframe code/javascript code,(as FBML is not supported in all browsers). Use ready/generated code and you are ready to go.
It will give you something like this example:
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Freference%2Fplugins%2Flike&send=false&layout=standard&width=450&show_faces=true&font&colorscheme=light&action=like&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
Please reply any question...

Like an article without a comment

I'm trying to setup "Like" button on productpages in our shop. I'm using iframe version of "like button" app.
Unfortunatelly liked product is available on user's wall only when he add a comment additionally (liked page without a comment is invisible on his wall).
Code I have used:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.limango.pl%2Ffbfeed%3Fprodid%3D304983+&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
and the result page (with opengraph data) is located here: http://www.limango.pl/fbfeed/?prodid=313198
What mistake I made that I cannot post this without a comment?
Thanks in advance for any response.
Kind regards,
Slawek.
Found in Google:
"The Like / Recommend button without comment – When third-parties use the standard iframe Like button with a width less than 400 pixels, the button_count, or box_count version of the Like / Recommend button, users aren’t given the option to comment. A simple, one-line story linking to the content is published to the Recent Activity feed of the user’s wall, and the story is less frequently displayed in the news feeds of friends. Users are subscribed to future updates from the button’s owner."

How can I display a Facebook "likebox" in my website?

How can I display a Facebook "likebox" in my website?
You can go make the button right here
Or you can get the "likes" of a page via JSON just by using their Graph API (it's in the returned data here)
Javaamtho may be referring to the like box for facebook pages
http://developers.facebook.com/docs/reference/plugins/like-box/
and here's a nifty tool to customize it a bit
http://prettylikebox.com/
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FPAGE_NAME&layout=button_count&show_faces=true&action=like&colorscheme=light&show_faces=true&header=true&stream=true&show_border=true&" style="overflow:hidden;width:100%;height:590px;" scrolling="no" frameborder="0" allowTransparency="true">klj</iframe>

Getting FBML Error unknown tag "fb:like" error with Facebook app

I've been looking at this for ages now and I cant find anything on the net that provides a solution. When trying to use the tag...
...this is embedded on a tab canvas. The 'Like' button appears when using the app locally, however, it doesn't appear when used on the facebook site. I get this error:-
FBML Error (line 264): unknown tag "fb:like"
I have FBML enabled in the settings. I've also tried using the iframe alternative with no luck.
Any ideas?
PS.. I'm using CakePHP
doesn't seem to be available inside Canvas. According to Facebook's document, there is a simple version and a version for XFBML but I can't find the document pointing to that one either. :(
The new documents is a mess.
This is the official document about XFBML like button
http://developers.facebook.com/docs/reference/plugins/like
If you're starting from scratch, you should build a IFrame based Canvas application instead of a FBML based one. IFrame Canvas applications can run normal JavaScript, including the JS SDK which supports the <fb:like> tag, for example: http://apps.facebook.com/fbrelll/xfbml/fb:like.
<div>
<fb:iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true">
</fb:iframe>
</div>
look at this ,using fb:iframe,it works well~~have a try!