How can I access archived private messages using Facebook's Graph API?
https://graph.facebook.com/me/inbox seems to return unarchived messages only.
So the deal (apparently) is that archived messages are simply not available VIA the api. Whether this is a bug or not is yet to be determined.
You can see this behavior by querying a specific message by it's ID in the API Explorer, then archiving the message through Facebook. Returning to the Explorer and querying the same message yeilds the uber generic and much despised "Unsupported get request".
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Related
My Facebook page publishes public events and I am developing an app that uses this page. I want to get the number of interested/going people for a specific event given its Facebook id.
I, the creator of the app, am also the admin of the page. However, using my app access token that I generated with the app id and the app secret, I can't call the event API: https://graph.facebook.com/v3.0/137340177139954?access_token={access_token}
I get the following error
{
"error": {
"message": "Unsupported get request. Object with ID '137340177139954' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "FqJ5oAqdukA"
}
}
What am I doing wrong? How do I get event information about a page that I own
The endpoint that you're hitting is not correct. You're forgetting the /events portion after your page_id.
This is what it should look like:
https://graph.facebook.com/v3.0/137340177139954/events?access_token={access_token}
I was trying to retrieve my own Facebook Messages and its photos.
I was able to use /me/inbox to retrieve list of conversations, then with Thread /{thread-id}, i was able to see the messages in the conversation.
What is interesting though is that for ever message that is a photo, there were no information of the photo included, it simply omitted the message key & value. I tried to access each individual message with Message /{message-id} endpoint, i would however get the following error.
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Looking to hearing from anyone with knowledge/experience to this issue. Thanks
I already followed instructions from this https://developers.facebook.com/docs/graph-api/reference/v2.0/page/ratings
some config I have already made, this has been run only in facebook graph explorer
using page_access_token from me/accounts which is a required just want to post this
the field=open_graph_story and other fields
age restrictions changed back and forth
country restrictions changed back and forth
still having the same problem.
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Is there something to do with the selected developer only to use this api? I have read something like that in the facebook api but failed to locate the url.
Any details about this problem, please, at least refer me some links.
Is it possible to get the Page ID of a page that has country restrictions?
Usually if I do something like http://graph.facebook.com/google
I'll get a response object with a bunch of info (incl. the id).
However doing http://graph.facebook.com/[page_with_country_restriction] returns:
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Yes. It's possible to get the information of a page with country restrictions. You just need a valid Access Token for that.
Try making a request to the URL using that Access Token. Something like:
https://graph.facebook.com/teabeauty?access_token={Access_Token}
You can always make use of Graph API Explorer to test your requests and queries.
until now I thought it was possible to retrieve the public information of every user when making a get request to https://graph.facebook.com/user_id.
But I just noticed a user where I am getting this as response
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
It's also not possible to get a custom profile-picture via http://graph.facebook.com/user_id/picture?width=100&height=75.
But the user/page can be viewed even if I am not logged in to Facebook. So I just can't access the public user information via the Graph API (without access token).
I think the user might have (de)activated something in the privacy settings which disables retrieving public information with the Graph API. Do you know more about this?