Recent activity
Subscribe to this feed
Marcos Weskamp set one of Marcos Weskamp's replies as an official response to "Mejoras" in marumushi.com
Marcos Weskamp replied on August 05, 2009 18:33 to the idea "Mejoras" in marumushi.com:
Marcos Weskamp set one of Marcos Weskamp's replies as an official response to "Sending Feedback In" in marumushi.com
Marcos Weskamp replied on July 20, 2009 23:59 to the question "Sending Feedback In" in marumushi.com:
Marcos Weskamp asked a question in marumushi.com on July 20, 2009 23:58:
Sending Feedback InDoes this feedback system work?
marumushi replied on May 22, 2009 02:58 to the question "Can't get appKeys in V2 API working :(" in PostRank:
Hi Iliya.
I can see now that user-hash is returned properly from the user/info call.
Thanks!
subscriptions/feed still returns 404.
two follow-up questions (maybe I should open a new report here)
1) calls to the topic api generally timeout. Sometimes it will timeout for the first 2 or 3 calls, but then it (feels as if) results get cached, and returned pretty fast.
FYI the call I'm referring to is:
http://api.postrank.com/v2/topic/{user-hash}/{tag}?appkey={ appkey }&num={num}&level={level}&start={offset}
2) You used to have an api method that will return Postranked results all of a users' subscriptions. Has that gone anywhere else and I can't find it?
Right now, I could get a list of a user subscriptions, then query for Top Posts for each of the returned feeds, but that's not really efficient, and considering how slow api calls are, it's just a bad idea.
I can get around asking users to create a specific tag (or "topic" I guess it is now) , and tag all their feeds with that, but it's really cumbersome and I'm afraid not many users will get how to do that quickly.
Are there plans to have such an api method?
Or maybe at least tagging all of a user's feeds with a default tag we'd know it exists so we can call for:
http://api.postrank.com/v2/topic/{user-hash}/all-topics? [ ... ]
or something similar?
thanks.
A comment on the question "Can't get appKeys in V2 API working :(" in PostRank:
update: just bumping this bug up, since without that user-hash, I can't access any of the topics API :( I guess it was an oversight when moving to the new API? thanks! – marumushi, on May 17, 2009 22:13
marumushi replied on May 17, 2009 19:23 to the question "Can't get appKeys in V2 API working :(" in PostRank:
ouch, my bad for not reading the docs properly.
http://api.postrank.com/v2/topic?appKey=[...]
should have been:
http://api.postrank.com/v2/topic?appkey=[...]
with "appkey" all lowercase and the value for it, is the URI of my app.
v2 api does not require authentication, hence the oAuth key / secret has nothing to do with this.
Got to say, docs are kinda confusing though. Just as I noted in my previous comment there's a couple of inconsistencies on the way results come back:
http://www.postrank.com/user/info.xml
as well as methods that don't seem to exist anymore.
http://www.postrank.com/subscriptions...
(404 - also tried with fresh feed-id's received from
http://www.postrank.com/subscriptions... )
Thanks for your help!
.marcos
marumushi replied on May 17, 2009 17:32 to the question "Can't get appKeys in V2 API working :(" in PostRank:
I'm sorry, after reviewing the Docs a bit more, I did find user-hash mentioned somewhere else. Supposedly, according to the docs, I should be receiving the user-hash on the results of the user/info call:
http://www.postrank.com/user/info.xml
Docs say I should be receiving this:
<?xml version="1.0" encoding="UTF-8"?>
<user>
<email>quentin@example.com</email>
<user-hash>b6589fc6ab0dc82cf12099d1c2d40ab9</user-hash>
</user>
However, this is what actually comes back:
<?xml version="1.0" encoding="UTF-8"?>
<user>
<nick>examplenick</nick>
<id type="integer">12345</id>
</user>
... tried using the user id instead of the user-hash, but of course it didn't work either.
marumushi asked a question in PostRank on May 17, 2009 16:39:
Can't get appKeys in V2 API working :(Is there any chance that with all recent changes to the api appkeys are not working properly?
For example, when trying to make a request to the topics api, I'm calling:
http://api.postrank.com/v2/topic?appKey={ mywebsiteurl.com } &id={ userid } &tags={ tags } &level=1&num=10&start=0
But I always receive back a 400 with "error": "Invalid application key, please check the API documentation."
I've tried appKey with values like "www.mywebsiteurl.com", or the Consumer Key I get after registering for an API key, with no luck. (mywebsiteurl.com is just an example, I'm using my real app url for that, of course).
I'm suspecting that not only I have the wrong api key, but also in the docs there's a mention to a "user_hash"
http://api.postrank.com/v2/topic/{user hash}/{tags}?appkey=postrank.com/example
[ http://www.postrank.com/developers/ap... ]
that doesn't get mentioned anywhere else in the Documentation, as well as not existing in the results of a getUserInfo call.
Would it be possible to post a more detailed example on how I should be creating this call ? The current docs are not really helping!
Thanks!
.marcos
marumushi replied on April 02, 2009 15:03 to the question "oAuth Authentication flow broken?" in PostRank:
marumushi asked a question in PostRank on April 02, 2009 04:24:
oAuth Authentication flow broken?Hi again!
I noticed how after receiving my oauth request token, and directing the user to postrank's authentication ( ex: http://www.postrank.com/oauth/authori... ) and when finally user clicks on (Would you like to authorize ABC access your account?) YES.
User gets dumped right into Postrank, instead of receiving a screen offering to go back to where he came from.
Looking at the oAuth Core authentication scheme: http://oauth.net/core/1.0 you can see how right after step C, the idea is sending the user back to the Consumer App.
Testing against Netflix oAuth authorization scheme, for example, right after user approves access to his acount, the only thing he sees is a big button, that reads (something like) "You are done giving access to ABC to your account. Close this window"
Is this something that you have overseen, or is it possible I'm doing something wrong?
cheers,
.m
marumushi replied on March 31, 2009 03:12 to the problem "Adding crossdomain.xml to http://www.postrank.com/" in PostRank:
marumushi reported a problem in PostRank on March 29, 2009 17:58:
Adding crossdomain.xml to http://www.postrank.com/Hi! great stuff here.
If Postrank would like to be able to allow access to flash based applications, you will need to add a crossdomain.xml file so we can query all methods directly to your API. Specially, in the case of all methods that require oAuth Authentication, since seerver side proxying wouldn't work for that.
Netflix and flickr went around it by adding their crossdomain.xml over here:
http://api.netflix.com/crossdomain.xml
http://api.flickr.com/crossdomain.xml
However since some of Postrank methods exist at www.postrank.com (*), you'll need to add your crossdomain file at http://www.postrank.com/crossdomain.xml to be able to grant proper access rights to flash based apps.
(*)
[ All user subscriptions ]
http://www.postrank.com/myfeeds/subsc...
[ All user subscriptions for a given feed ]
http://www.postrank.com/myfeeds/subsc...
thanks!
Loading Profile...



