views:

375

answers:

1

I've been working on a client for google reader. Everything works fine, except that I can't edit entries to add tags such as "starred" and "read." The instructions at code.google.com/p/pyrfeed/wiki/GoogleReaderAPI and www.niallkennedy.com/blog/2005/12/google-reader-api.html seem to be outdated. What's more odd is that I've been inspecting the POST data that google itself uses and attempting to replicate it exactly, but I still can't get it to work. The closest I've come is, for example, http://www.google.com/reader/api/0/edit-tag with POST data a=/user/-/state/com.google/starred&async=true&s=[feed]&i=[item]&T=[token]

This seems to be exactly what google itself does, but I lways get back "Invalid Stream Name." Any advice?

A: 

What environment are you using the write the app?

You'll want to make sure you are (1) logged in and passing the the SID cookie back to Google when making the calls. (2) Make sure you are url-encoding the values you place in the url string.

Kevin Rood