Pages

Wednesday, 12 August 2015

"GraphMethodException - No node specified" Error on accessing Facebook API

Sometimes on hitting the methods provided by Facebook API, you may see an error such as below:


Cause:
The code 100 with this error indicates that there is an invalid parameter that is being passed in the request (Refer error-reference).This would in turn mean that the URL you are trying to hit is not valid. For example, in my case, the problem was with the query parameters I was passing. The keys of the query parameters were not matching with the ones specified by Facebook API. Hence, I was seeing this error. I fixed it by referring the API docs and supplying the right query parameters.


Hope this helps!


No comments:

Post a Comment