Even if passing "id" as a parameter works, it's not the documented behavior and isn't guaranteed to be supported indefinitely. Please specify IDs in-URL.
On Tue, Aug 11, 2009 at 02:37, Mariusz <mariusz...@gmail.com> wrote: > > Hi > > I am making small Twitter client in Java. Currently I make option > 'farourite status' and I have a strange problem. > > I always use format of url like this (for example for 'follow user'): > > http://twitter.com/friendships/create.json?id=1111 > > It works well in almost all cases. However it doesn't work in > 'favourite status'. If I try: > > http://twitter.com/favorites/create.json?id=111111 > > I will get error. But if I try: > > http://twitter.com/favorites/create/111111.json > > everything works well. > > Could somebody tell me why I can't use first way of the URL? I would > like to use link with parameters after '?' character. Why doesn't it > work in 'favorite status'? > > Mariusz > -- Alex Payne - Platform Lead, Twitter, Inc. http://twitter.com/al3x