Adding a comment via the API
|
January 27, 2011, 01:08 AM
|
|
So, I'm calling the API using services/rest/?method=glickr.photos.comments.addComment&...
Now, this is not documented in http://www.23hq.com/doc/api/, but it does appear to be present. I assume it is implemented as described here: http://www.flickr.com/services/api/flickr.photos.comments.addcomment.html
This is what I get back:
< ? xml version="1.0" encoding="UTF-8" ? >
< rsp stat="fail" >
< err code="9" msg="User is posting comments too fast." / >
< /rsp >
Has this been disabled because of spammers? This happens on any invocation.
I'm writing an app that has a comment panel that can sync with online services via the Flickr API.
|
|
|
Team 23
January 27, 2011, 11:07 AM
|
|
I'm afraid that the method was never implemented -- and that the error message is simply a cute way of saying that. Bad joke on my part. Sorry.
But I gather there's and interest in having the method actually work?
|
|
|
January 27, 2011, 06:10 PM
|
|
Lightroom has the facility to offer a way to add a comment to photos that get synced with services. They use the Flickr REST method above. It would be nice to have some parity with the Flickr plugin.
Right now it is one way, comments in 23 show up in the Lightroom UI for the service. Just not the other way around.
So, add this to the wish list. I can keep the functionality stubbed out for now.
[Later]
By the way, I'm loving the Easter eggs I'm finding in the API. The remaining photos quota from people.getUploadStatus is 23000 for 23 Plus accounts.
|
|
|
February 07, 2011, 07:38 PM
|
|
Well, I'm not sure why I'm talking about shoes in Italian, but sometimes writing to an API gets you a little confused.
|
|
|
Team 23
February 07, 2011, 07:56 PM
|
|
You're right -- that is fairly confusing. We'd already created a fix, just hadn't released it yet. It's out now though.
|
|
|
Team 23
February 27, 2011, 08:14 PM
|
|
About the actual question in this thread, support for photos.addComment, we actually had written support -- but Akismet spam filters are really flagging a lot of weird stuff. The posting too fast you've been seeing comes from the spam filters -- and is solved now.
|
|
|
February 27, 2011, 08:29 PM
|
|
Confirmed this now works via the API call.
|
|
|