Everytime you write a web app with social network integrated, you need to read through their API and checkout the format. although most of them are RESTful, which is simple enough. However, it is hard to debug when something is not working. is it the URL ? or is it the parameter ? or is it the permission.
Glad that APIGEE provides an interactive API console. It shows available APIs with url format provided. You can also submit the call and review the response, see if that is what you expect.
For example, find out "what things i liked" using Facebook Graph API: https://apigee.com/console/facebook
It says I need authentication ...
it is really easy to do OAuth call thru APIGEE:
a bit freaking out when it asks for facebook permission ....
OK, try again after login with facebook. Yay ~ done!
No comments:
Post a Comment