/user/{username} for old username

0 views
Skip to first unread message

Pokiboki

unread,
Jun 24, 2009, 10:38:46 AM6/24/09
to Digg API

Hi,

I'm trying to access the user info for an old (legacy?) user.

http://services.digg.com/user/tokyo-e?appkey=http%3A%2F%2Fwww.tester.com%2Fmyapp
result:<error code="1021" message="No such user"
timestamp="1245853782"/>
replace in tokyo-e with tokyo%2De (%2D = <dash> ASCII hex) and get
the same result.

http://services.digg.com/user/tokyo-e/diggs?appkey=http%3A%2F%2Fwww.tester.com%2Fmyapp
yields a good result:
<events timestamp="1245853881" total="404" offset="0" count="10">
<digg date="1245821181" story="13503632" id="233098016" user="tokyo-e"
status="popular"/>
<digg date="1245688214" story="13456833" id="232807386" user="tokyo-e"
status="popular"/>
etc..
So clearly the user does exist.

This is an old username and I don't think one can add a <dash> in the
usernames anymore.
Still, I'd like to be able to access the user info via the API.

Can someone kindly help me out?

Regards,
-Eric


Steve Williams

unread,
Jun 24, 2009, 12:19:13 PM6/24/09
to dig...@googlegroups.com
At 07:38 AM 6/24/2009, Pokiboki wrote:
><error code="1021" message="No such user" ... />
>...
>
><digg date="1245821181" story="13503632" ... user="tokyo-e" ... />
>...

>
>This is an old username and I don't think one can add a <dash> in
>the usernames anymore. Still, I'd like to be able to access the user
>info via the API.

Yes, Digg has tightened the constraints on user names over time. All
active users are available through the API, even when the user name
is one that would not be allowed today.

It's quite common for user activity to remain available after a user
account is no longer active. On Digg.com itself, for example, you'll
see activity by users who no longer have user profiles.

So these API responses are working as intended.

Pokiboki

unread,
Jun 24, 2009, 8:06:16 PM6/24/09
to Digg API

Hi Steve,

Thanks for the response.
The account is active. http://digg.com/users/tokyo-e
I'm using it - digging and commenting stories almost everyday! 8-)

So I should expect this work:
http://services.digg.com/user/tokyo-e?appkey=http%3A%2F%2Fwww.tester....

But the response is "No such user"
result:<error code="1021" message="No such user"

I suspect the <dash> in the username is not compatible with the API.

Regards,
-Eric

Steve Williams

unread,
Jun 25, 2009, 7:12:18 AM6/25/09
to dig...@googlegroups.com
At 05:06 PM 6/24/2009, Pokiboki wrote:
>The account is active. http://digg.com/users/tokyo-e
>I'm using it - digging and commenting stories almost everyday! 8-)

Thanks for clarifying. In that case, let us look into this as a bug.

Pokiboki

unread,
Jun 25, 2009, 10:23:44 AM6/25/09
to Digg API
Thanks Steve! Much appreciated!

-Eric
Reply all
Reply to author
Forward
0 new messages