Facebook's documentation for instant articles states that for "related articles" if we leave off the list of related articles, Facebook will automatically select 4 articles for us. I am not seeing this behavior. Instead, I get the error: Related Articles Block is Empty. Has anyone come across this?
The tag that I current have is as below:
<footer>
<ul class="op-related-articles">
</ul>
</footer>
You can include a maximum of four links in this list. Unlike in the footer, Facebook will not automatically populate the remaining links if you include fewer than four.
This is not actually the case.
I tried the same thing after reading the FB documentation, I thought facebook will get pages randomly but they don't.
Related
I'm in the process of creating a new website and I just added the FB comments Social app to my posts, but I keep seeing comments that are not related to the article and they date weeks before I've even created the page. What is wrong here?
Got it. I just needed to change the data-href value to be the permalink of my website. it looks like this: data-href=“<?php the_permalink(); ?>”
For the talking_about_count figure returned under the Page Graph API (https://developers.facebook.com/docs/graph-api/reference/v2.3/page) what is the detailed metric definition for this?
All it says currently under the documentation is "the number of people talking about this Page" but what constitutes someone to be talking about a page?
See
https://developers.facebook.com/docs/graph-api/reference/v2.3/insights#page_stories
The number of people sharing stories about your page ('People Talking About This' / PTAT). These stories include liking your Page, posting to your Page's Wall, liking, commenting on or sharing one of your Page posts, answering a Question you posted, RSVPing to one of your events, mentioning your Page, phototagging your Page or checking in at your Place
I've been banging my head against the wall for ages now but I just can't get the facebook comment sorter to appear above my comments.
It usually says something like '21 Comments' and has a drop down that allows you to change the sort order of the comments.
I can see it working on other people's facebook pages, it just won't appear on mine :(
I have this code from all the documentation I've read:
<div class="fb-comments"
data-href="http://www.facebook.com/app_xxxxxxxxxxxxxxxx"
data-colorscheme="dark" data-num-posts="3" data-width="440"
data-order-by="reverse_time"></div>
But still I get no sorter, just the comment box and the last 3 comments.
Can you please tell me what I'm doing wrong?
I'm integrating a Like button in the individual blog posts on my company's website ( www.atlas-games.com , blog by CLASSIC Blogger at http://blog.atlas-games.com ... can't use a widget). Unfortunately the metadata isn't passing through, so in Facebook it looks like:
Michelle Nephew likes a link.
Atlas Games: Charting New Realms of Imagination <--website's name, not post title
The item links work correctly on "link" and "Atlas Games ..." directing to the individual post, but it's using generic text rather than the individual post's title, the site name I specified for Facebook, and the image.
Object Debugger comes up with Inferred Property errors for URL, Title, and Image, though I specify them in the header of my page. For some reason Facebook just isn't finding the metadata, seems like. See the report here:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fblog.atlas-games.com%2F
I'm having trouble posting my code here ... View Source, though, and you'll see the Meta Property tags in the header and the iframe in the post's footer code (commented out right now).
This is the third time over the course of several months that I've spent hours trying to get this to work, with no luck, so it's not a temporary issue. Any suggestions?
It seems like the structure of the HTML might be the issue as it could be stopping Facebook finding the Open Graph tags.
Fixing these validation errors might allow the tags to be parsed:
http://validator.w3.org/check?uri=http%3A%2F%2Fblog.atlas-games.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
Also there are some template variables in the OG tags which aren't being replaced with values:
<meta property="og:title" content="<$BlogItemTitle$>" />
I have the same problem on my blog! And I can't even insert html for the facebook like button directly from facebook developers, into my blog, my blogger blog tells me that the html is erred. I think it has something to do with blogger being a google blog and google now having google+. I noticed all my problems began when google+ came out, I think google is possibly screwing up the facebook like buttons on google sites, to gain monopoly through "share on google+" .
I used the FB page linter to verify that all the meta information I'm using is correct. According to the graph url, my page id is 157797447612809, yet when I try to publish a checkin to this page, i receive the error:
(#100) Requires a valid Place Page ID
Surprisingly, there is no good information about publishing a checkin to an open graph page available anywhere on the internet. I've used every possible variation of my place page ID that I could imagine, from the URL to page id's of different pages, yet I always get this same error. Does anyone have an example on how this should be accomplished? Thanks!
Since there is absolutely no documentation by Facebook on this matter, I solved this by looking at what foursquare has done and a lot of trial and error.
When defining your open graph object within facebook, you must add a property of type GeoPoint. I called mine location. Define in the object page meta like this:
<meta property="mytestapp:location:latitude" content="37.791" />
<meta property="mytestapp:location:longitude" content="-122.395" />
Now when you debug/lint this object it register as a place, just like the foursquare HQ. You can check in and create map views for actions that include this object.
I think you'd need to add at least the location related tags e.g. og:longitude & og:latitude.
See this graph output for a page that has these og tags and checkins.
http://graph.facebook.com/149998791679075
http://foursquare.com/venue/128530
BTW: I hope you get the irony of this example 8)
I'm also not sure if you can checkin to a og:type=food page. It may have to be one of the places types e.g. landmark - see types info on the OpenGraph page. However the example above is for og:type=company so you'd need to test the different types to see.
The Geopoint object is described here:
https://developers.dev.facebook.com/docs/opengraph/complextypes/#geopoint
Example:
<meta property="your-og-app:location:latitude" content="37.416382">
<meta property="your-og-app:location:longitude" content="-122.152659">
<meta property="your-og-app:location:altitude" content="42">
I have spent too many hours on this but it doesn't seem possible. Then I came accross with this answer. I think this feature is currently open only to Foursquare. Facebook API docs doesn't have anything related to this.