Facebook updated time for edited comments - facebook-fql

Now that Facebook provides the ability to edit comments, I was looking for a way to grab comments that were newly edited. I can search the comments table for comments to a particular post and include time in the where clause, but time is the created time and not updated time. Is there any time field that gets updated, either in the comment table or elsewhere, when a comment gets updated?

There is already a question on this with no answer:
How to get last edited time of a comment through FQL/Graph?
It looks like Facebook hasn't updated their fql API for this. I'm assuming it would be a "foreign key/primary key" linked table with edited info columns.
https://developers.facebook.com/docs/reference/fql/comment

Related

Facebook Page Comments Using Graph API & Stream Filter

I have my site working using the Facebook Comments Plugin as you can see here http://www.amanzitravel.com/namibia-wildlife-sanctuary
I am trying to use the Graph API to retrieve the comments so they are on the page in a form that is beneficial for SEO (as outlined here https://developers.facebook.com/docs/plugins/comments/).
Ideally I want to see not only all comments, but replies to comments. According to the API (https://developers.facebook.com/docs/graph-api/reference/v2.0/object/comments) using filter=stream should do the trick.
However when I do that I only get the two most recent comments e.g. https://graph.facebook.com/comments/?ids=http://www.amanzitravel.com/namibia-wildlife-sanctuary&filter=stream as opposed to the default https://graph.facebook.com/comments/?ids=http://www.amanzitravel.com/namibia-wildlife-sanctuary where I get all the top level comments but none of the replies.
EDIT: Further to this, it appears to update itself some time later, but when another reply is added it goes back to displaying a subset of all the comments for a period of time. Its unfortunate because it means I can't rely on this to be accurate.
Is there anyway I can make this work properly?

Duplicate Title Tags Webmaster Tools - URL 1: Has No Date, URL 2: Has Date Appended

So just going through GOogle Webmaster to clean out some 404's and check overall site health, and I've only just discovered about 200 posts that have been flagged as having Duplicate Title Tags.
So here's one common example. Post seems to have two versions, one with out the date format and one with. There isn't two versions of the post in the database, so it's just the one post but I guess has been indexed twice. I do believe I played with changing Permalink format a while back, to remove the date, so pretty sure this would be the few posts that slipped through.
https://www.dropbox.com/s/i2kono8jba0m6m0/Screenshot%202014-03-10%2014.41.53.jpg
Alternative NFL Team Logo Designs by Justin Halpern
/alternative-nfl-team-logo-designs-by-justin-halpern/2012/02/02
/alternative-nfl-team-logo-designs-by-justin-halpern
Wondering the easiest way to simply ignore/fix/noindex/redirect the 'non date' version (last line) for all these few 100 posts.
To clarify my permalink structure is:
imjustcreative.com/example-post/2012/02/02
I did think I could use Yoasts Canonical Link feature in each 'edit post' and set the canonical link appropriately, but not sure if that's possible as each post is viewable in it's own formate, ie I can view each of the post versions without any automatic URL structure change.
So kind, :)
Graham

Custom open graph stories being changed

I've created custom open graph sentences for my story.
There is an open-graph action called Send and an open-graph object called Treat.
The story is called Send a Treat.
This issue is that after a day or so, the custom sentences are reverted to their previous values!
For example, for One to One:
I changed it to Simon has sent a treat.
However after a day when we started testing it, it changes back to Simon has sent {treat.title}
Is it because our custom sentences contain the word 'treat'? Has anyone else had this problem? Is there a way around it?
Update
Response from Facebook bug report:
This is by design. If you want to trigger the "One to One - Without Object Title" story, you need to leave the og:title tag empty. More info:
https://developers.facebook.com/docs/opengraph/using-objects/#objects-without-titles
What?
Every time I change a sentence in the OpenGraph->Stories section, it just reverts back to its previous value. This can't be 'by design'...

Facebook open graph action not getting updated timestamp after update

I'm using the PHP SDK for adding reviews/ratings of books. Whenever someone updates the rating of a book or a review on my site, I am sending in an update request through the API for the original open graph id associated with the rating/review and it does update the rating/review values but the timestamp on the action is still set to whenever it was first submitted. I want to have the time be reflected of the last update so it shows up in their activity feed/timeline in the right place.
I've tried modifying end_time,start_time and publish_time based on the documentation here: https://developers.facebook.com/docs/opengraph/using-actions/
but nothing does anything to modify the timestamp of the action. Any ideas?
My recommendation would be to delete the action and create a new one altogether.

Facebook - posting scheduled posts on pages via Graph API

I've already read the facebook documentation which isn't quite clear. My question is, just like a page admin can manually add scheduled posts on their page, can my app, with the right access token, do the same? I've already tried using POST requests to set a 'created_time' on a future date but it just posts immediately.
Yes, use the scheduled_publish_time parameter when creating the post - this parameter is mentioned in the documentation you linked in multiple sections, where the parameters accepted when creating posts are listed, for example, in the 'Status Update' section:
https://developers.facebook.com/docs/reference/api/page/#statuses
Its value should be UNIX timestamp according to the documentation, though in many places in the Facebook API you can also use any date which is parseable by PHP's strtotime function so try that too.
Time when the page post should go live, this should be between 10 mins and 6 months from the time of publishing the post.
If you can't get this to work when specifying published to false, try setting it to 'true' at creation time
Contributing to the last answer (i'm not allowed to comment).
If you are trying to get the schedules post, you should use /{page-id}/promotable_posts. See https://developers.facebook.com/docs/graph-api/reference/page/feed/ for further details.