samedi 28 février 2015

Facebook Graph getattachment method returning "unknown method" error

I am trying to write an application which can archive your Facebook messages and their attachments, something similar to the amazing tool http://ift.tt/1AmLKjd, but i have a problem with non-image attachments, say a audio file for example.


According to this View attachments in threads, the solution is the messaging.getattachment api call, with the proper parameters, now it looks like this is working for some people, but when i do it, through a browser direct call as well as with the python code mentioned before the response is always the same:



{"error_code":3,"error_msg":"Unknown method","request_args"


followed by all my parameters.


What am I doing wrong here? Is there something wrong with this api endpoint at this moment? Am I passing the parameters the wrong way? Maybe someone who got this working can put an example of how they passed their parameters(not the access token of course :() but maybe im putting the mid parameter the wrong way.


Any help appreciated.


Aucun commentaire:

Enregistrer un commentaire