UserService.getReputationThis is a featured page

HTTP MethodURIReturns
GET/UserService/getReputation.doThe requested user.
Overview:
Retrieves the reputation of a user. Currently this call returns the number of cell edits made by that user.

Please note, the algorithm used to generate the developer credential signature has changed. See the description of cred.sig below for more details.
Common Parameters
plus...

Required Parameters:

cred.ts
The current time, expressed as the number of seconds since January 1, 1970 12:00 am GMT. This must be within five minutes of Wetpaint server time. Example data is available.
cred.sig
Developer credential signature. This is calculated as the HMAC-SHA-1 hash of the developer key (the key parameter), the user ID (the user.userId parameter, described below), and the current timestamp (the cred.ts parameter). The key used by the HMAC-SHA-1 algorithm should be the developer secret. For example, in PHP: $sig = hash_hmac( "sha1", $developer_key . $user_id . time(), $developer_secret, FALSE ); Example data is available.
user.userId
Unique ID of user to update.
output
Currently only api output is supported for this call.
Example Request ( required parameters in red ):

http://wapi.wetpaint.com/userService/getReputation.do?
output=api&
key=yourissueddeveloperkey&
ns=yourassignednamespace&
cred.ts=1208733600&
cred.sig=a67987e9875ffb32&
user.userId=youruser




boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Oct 7 2008, 5:03 PM EDT (about this update About This Update boe_wetpaint Edited by boe_wetpaint

No content added or deleted.

- complete history)
Keyword tags: None
More Info: links to this page
Started By Thread Subject Replies Last Post
mattc_bravadosoft Getting Error on getReputation() 3 Jun 13 2008, 4:25 PM EDT by kevin_wetpaint
Thread started: Jun 12 2008, 4:57 PM EDT  Watch
Hello,

I'm getting the following snippet of HTML when I make this call on a valid user:

<p>Error (ERROR)</p>
<ul></ul>

Any ideas here?

Do you find this valuable?    
Keyword tags: getReputation error
Show Last Reply
Showing 1 of 1 threads for this page