Like box showing duplicate posts - facebook-like

I've set up a like box for my band's website using this page https://developers.facebook.com/docs/reference/plugins/like-box/
The Facebook page for my band is http://www.facebook.com/zeligmusic
When I add the URL into the Like Box plugin page, I am getting the first two posts from the Facebook page repeated. The first post is from earlier today, the next is from 9th Feb. These two posts are being duplicated in the stream. Posts from before that, the most recent being from 31st December, are fine and are only being displayed once.
Can anyone shed any light on why this is happening? And if there is anything I can do to fix it?
Many thanks,
Will

It's a bug: http://developers.facebook.com/bugs/220672548026208
You should go there and mark it as reproducible and also subscribe to it so you can watch for updates.

Related

show the list of post

I am making a page that shows the list of post, which was in my blog, but the problem is, I just want to show 3 posts each page, if user clicks next, they can see the next 3 posts, or click previous to see the previous page. How can I do that? if the code is too long, you can just tell me how can I do that. I am thinking of using loop, but with previous function is a bad idea. Thanks for your reading and hope to see your reply soon
Use django pagination. If you use generic ListView then pagination will be done automatically by providing paginate_by parameter.

Integrating social plugins - likes disappeared

So, researched this forum for the same problem, but still without success, any solutions haven't worked for me.
The problem is that we had four pages which ones have had like buttons. So we launched advertisement campaign, have collected some likes (more than 100 likes per page). Now we added one more like button for entire site and likes for these 4 pages now are equal to 0.
How this happened and where the likes disappeared? I'm new to this project so maybe I'm missed something (like metatags, app ids or etc.)?
Reverting project also haven't helped.
The pages I'm talking about (sorry, for separating links, but the editor wont allow me to post more than 2:
http://www.tradicinekolekcija.lt/
- index.php/kolekcijos-alus/old-port-ale/58
- index.php/kolekcijos-alus/baltijos/17
- index.php/kolekcijos-alus/ekstra-draught/16
- index.php/kolekcijos-alus/baltas/15
Your metadata is all right, you can check the data FB is scraping by using the debug tool. Just paste your pages' urls in https://developers.facebook.com/tools/debug.
The problem is that in the like buttons you're always using data-href="http://www.tradicinekolekcija.lt/" so you're always showing the like button and the count of likes for the main page. Just update the code in each of the urls' like buttons to point to the right url (the same url of the page where the like button is).
This should fix the issue!

Wall post shows "n/a"

I have a problem that's been bugging me for a while now. I have a page with a Facebook Like button on it. When the visitor clicks on it, everything is working as it should. The user first logs in her Facebook account, and the right information is showing in the little iFrame that pops up. It has correct headline, url, image, and the possibility to add some text to the post.
But once posted on Facebook, the wall post doesn't show the description, instead it shows four rows with the text n/a. How come?
Some additional information:
I have set the followwing fields in the head section of the html, and
the Facebook debugger tool scrapes the correct information: og:title,
og:description, og:image, og:url, og:locale, og:type
Also, it always works for me and some others when liking it, but not
when person X or Y tries to share it, so it's kind of sporadic...
I use the Facebook js sdk.
In the Facebook debugger tool I get this warning: fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high click-through rate. But I have read somewhere that this shouldn't be necessary in my case.
The description sometimes contains characters like Å, Ä and Ö.
Has anyone else experienced this behavior?
Thanks in advance!

facebook graph api limit parameter

I am writing an application that needs to retrieve all posts on any given facebook page. For the McDonald's page, I would use this url:
https://graph.facebook.com/McDonalds/posts?access_token=xxx&limit=5000
The problem is that first, I do not receive any posts older than 2011-11-01 and the number of posts shown is much less than 5000. This means that the limit parameter isn't working properly. I looked this up and found that it was a known bug.
Then I tried to follow the next and previous paging information provided in the end and even using that I can't get past 2011-01-24. After following the next link 2 times, an empty page comes up. The McDonalds page is much older and contains more posts. So the question is, how on earth am I supposed to retrieve older posts. Is there any workaround at all?
There is a limit on the limit. Try using since & until to extend the date params
https://graph.facebook.com/McDonalds/posts?access_token=xxx&limit=5000&since=2+years+ago&until=now
&limit=5000&since=2+years+ago&until=now
&limit=5000&since=3+years+ago&until=now

Facebook Like button and backdated posts on Tumblr

I've implemented the facebook like button in my tumblr project - and it works well. However, one thing I have noticed is that when I backdate a post, ie so I can change the order the way it appears on the site, the facebook like button no longer works for that particular post. I've used the lint/debugger and it's not throwing any errors and there's been no change in the coding as it's been called in a loop and the facebook like button works for other posts. So does anybody know what's going on or if this is an issue I need to be aware of?
There was general problems between Tumblr and Facebook in the last days
but now it should work fine,
if you still get general problems then you can report about them as a comment in the main bug report here:
http://developers.facebook.com/bugs/134909119955013
and a link to your blog will be helpful.