clintandrewhall/node-foursquare — pull request #9 by matteoagosti (2012-06-28 09:13:55+00:00)
Title: Minor bugfix in getAccessToken and added 2 new endpoints: addcomment, deletecomment

I was experiencing an "invalid_grant" error during getAccessToken that was not reported as it is embedded in a normal response using the format {error: 'message'}.

I also added 2 endpoints for adding and deleting comments. As the module is currently based on get request I had to refactor a little bit the invokeApi stack.

In order to check that everything works I included some test cases.