I’ve made a request using “me/inbox” to get the threads that are in my inbox. I can then request some of the thread objects using their ID directly, as well as being able to access the comments within some of the thread objects using “/comments” as the GraphAPI URL. However, some of the thread objects for some friends will not be returned. Instead, I get the following error:
{
“error”: {
“message”: “Unsupported get request.”,
“type”: “GraphMethodException”,
“code”: 100
}
}
I was wondering if anyone had any idea where I might be going wrong in requesting particular threads, or if this is a Facebook issue?
Instead of making a request to “me/inbox”, I needed to be making a request to “me/threads”.
From the “data” value that is returned, you can get a list of Thread objects which contain an “id” value. This “id” value can be used to request a specific thread. Using this method of retrieving Threads seemed to solve the issue.
Would welcome further solutions to retrieving Threads from Facebook!