I think this has already been asked but without any answer and don't know if it's exactly the same question.
I can retrieve via Graph API or FQL the comments made on a page post, but I would need to know if a comment has been modified and if possible when.
As far as I've seen, I think it's not possible via the Graph API because it only returns the created time and no flag if it has been edited or its updated time.
Ant suggestion?
As far as I know there's no possibility to achieve that, either via Graph API or FQL:
https://developers.facebook.com/docs/reference/fql/comment/
and
https://developers.facebook.com/docs/graph-api/reference/comment
Related
I think this used to be possible, and I was trying to update some code, but it does not appear that I can post to the me/feed endpoint using version 11 of the Graph API, Is this correct? Or is there another way to do this that I am missing?
After some more digging, it does not appear to be possible anymore. So much for automations in that context. :(
Is it possible to verify if a post has been deleted using Graph API?
By what information you've given. I would suggest you look at this doc for info. https://developers.facebook.com/docs/graph-api/reference/v2.9/post/
It has some variables like "is_published", "is_visible" and other.
So an answer to your question is, maybe and yes.
One of our apps uses FQL (more specifically the table url_like) as part of the core functionality.
With the upcoming deprecation of FQL we were wondering what is the Graph API endpoint (or set of endpoints) that could provide the same functionality (see likes on friend's links).
So far we haven't been able to. Any clue?
Much much appreciated.
Well, as far as I know there's no way yet to do this in a pure Graph API request. To get the total_shares, you could use something like
http://graph.facebook.com/?id=http://www.google.com
but this sums up all likes, shares, comments etc. so it's probably not what you're looking for.
You could use
https://api.facebook.com/method/links.getStats?urls=http://www.google.com&format=json
but this is also deprecated, and it's unclear how long this will work.
FQL by the way will be around for another 2 years after the next version of the Graph API will be released, see https://developers.facebook.com/docs/apps/versions#versioning So, for now I'd recommend to stick with the FQL solution.
Hava a look at How to get share counts using graph API to get some more info.
I have a blog on Wordpress with installed "Simple Facebook comments" plugin. It working couple of years but some time ago i found out that for some posts Facebook API showing me "N" comments but display none.
I tried to add comment to this kind of post and comments counter showing "N+1" but i was able to see only one most recent comment. I was trying to receive all of existing comment via Open Graph API (example: http://graph.facebook.com/comments?id=http://blog.spafinder.ca/breaking-free-toxic-relationship/) but it returning only one comment after that i was requested comments number for the same post (REST API: http://api.facebook.com/restserver.php?method=links.getStats&format=json&urls=http://blog.spafinder.ca/breaking-free-toxic-relationship/ , GRAPH API: http://graph.facebook.com/?ids=http://blog.spafinder.ca/breaking-free-toxic-relationship/) and it told me that i have 2 comments.
I tried to clear OpenGraph cache, request comment number with another resources and it wasn't help.
Do you have any idea why it happening? I would be a very grateful if somebody will told me the possible way to solve that problem.
Thanks.
Based on the url you posted, that plugin seems to be using the Facebook Rest Server API which has been deprecated as noted below...
We announced the Graph API at f8 2010. Since that event, we have been working hard to ensure that the most important functionality that developers were using with the REST API is available via the Graph API. For the past several months we have been slowly launching new features in the Graph API to bring it up to parity with the REST API
This article is 3 years old so I wouldn't be surprised to find out that there are bugs in the existing deprecated API since they have dropped support for it. That said, be sure to read the documentation of the plugin you're using, they might have updated the plugin.
Also, if you wish to do this job manually, rather than depending on a third-party, be sure to read the documentation regarding this endpoint because permissions and default filters can affect the output...
https://developers.facebook.com/docs/graph-api/reference/v2.0/object/comments/
Given an Open Graph story ID, is it possible to read insights Impression and Referral data on the story via any of the Facebook APIs?
A thorough review of the API documentation suggests it's not (but FB's API docs can get out of date) and previous SO questions have not been promising (but none of the answers seem definitive and anyway times change). Something like the following seems like a reasonable guess for where they might be available:
https://graph.facebook.com/[og_story_id]/insights
Testing queries along those lines does not error, but also hasn't turned up any real data.
As a addendum and potential hack, is it possible to access the comment or like count for an Open Graph story?
It is not possible to update the existing isight using the endpoint the only it allow only the get request post and put is not allowed for this end point