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!
Related
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!
Posting links via Graph to my feed, i am noticing that new "story" and "story_tags" fields are being implicitly added (without my intention). this is new behavior as of on our around 07/20/12, as if i look at links prior to that in my feed, they did not include these extra 2 fields.
one of the issues i have with this is that the "story" and/or "story_tags" field appears to be triggering something new that has unexpectedly altered the display of the link on my feed, as the new posts no longer resemble those i made 07/19 and earlier, IF the link is to a page on Facebook. specifically, my "picture," "caption" and "description" values seem to be getting overwritten by content pulled from the FB page i am linking to. if however i link to an external page then this does not occur (although curiously the "caption" field seems to now be overwritten with the link in this case, or simply ignored altogether).
furthermore, i have an Xbox 360 game that posts links to my page (it links to a page on Facebook for the game). i just did one now. when i look at it in my feed in Graph it does not contain a "story" or "story_tags" field. thus, their caption, description and picture fields are not being overwritten like mine are when i set my link to a Facebook page. how are they getting around this? is there some way i can do the same through Graph?
I am not sure what you mean exactly, but since I've started working with Graph i've noticed the story and story_tags.
As far as I could see a message is posted by a person itself, and a story is something like [user] is tagged in picture, or [user] liked a story.
And indeed the Story and story_tags do not contain a whole lot of info. But you should check for picture caption en description anyway because as I've noticed they aren't always there.
I'm using the Facebook comments box plugin..I have many pages with different get urls (example.com/id.php?id=1,example.com/id.php?id=2), and I'm attempting to give each its own seperate comments box. Everything is working fine except I get a warning telling me to add the href to the like button so I did. The only problem is, now a moderation link doesn't even appear..Here's code
" href="example.com/example.php?id="> ...I also included all meta tags I'm 100% sure..
I figured out the problem..Basically, if the page requires a login of some sort to view the contents, Facebook's bots don't have access to the meta tags.Therefore, you should add the meta tags to the page that a non-logged in user would see..This really caused me trouble and I hope this helps someone!
How can we display a different string in a custom action caption using text templates or formatters if a Profile property is null?
Facebook displays a default caption for an action if a string property is not set or is empty.
For example, a caption for an action with a Profile object, Cooked with {SomeProfile}, displays the profile's description or something else if SomeProfile is not defined.
Another example
I have an Cook action type. Cook is connected to a Profile object type. Cook has another Profile action property SomeoneICookedWith. I set the caption for Cook to I cooked this with {SomeoneICookedWith}.
If SomeoneICookedWith is not empty and set to URL to John's profile, the caption on the timeline displays I cooked this with John.
If SomeoneICookedWith is empty, the caption on the timeline displays John is on Facebook. Join Facebook to connect with John and others you may know. Facebook gives people the power to share and makes the world more open and connected..
It displays the og:description of the object if the action is aggregated or if the News Feed attachment isn't configured.
If you are trying to link directly to a Facebook profile, you can't control the og:description. I would recommend making proxy pages with your own metatags that just redirect users but then you control the tags instead of us.
I've found that the og:description tag doesn't seem to be working with the og beta. The linter grabs my the description and my other custom object properties just fine, but when actually posting them, the only thing that shows up is the image, link, and the title. Description and everything else are left off, and the default 'Description' shows up. I'm beating my head against a wall since the Linter says it's working fine but it's not in actuality.
Paul's answer sounds ideal, but if you redirect the page, then Facebook follows the redirect and grabs the tags from the redirected page. Has anyone else run into this, and what's a good solution?
I have a like button on my site, i have defined all the og: meta tags and its works for most of most pages, but doesnt for 2 other pages. Its using a template so its exactly the same code, how can it work for some but not all pages?
For the pages it doesnt work, it doesnt pick up the title, image, link or description, basically any of the meta tags information.
Working like button....
http://www.imoffonholiday.com/holiday.php?id=des_home&destination=faliraki
Not working Like button
http://www.imoffonholiday.com/holiday.php?id=des_home&destination=ayianapa
Any ideas?
One usual problem is caching. If you were testing and at some point had the wrong data in the metatags facebook will cache that info.
One simple wat to test if it is a caching issue is to add a random param at the end of the URL.
so www.yourpage.com/index.php?cacheBust=1
Running the Facebook Debugger often clears those kind of things up. It appears to refresh the FB cache when you do.