MediaPost Social Network

Authentication guide

Request authentication

To make a REST request, the client should send data to http://platform.converdge.com/api.php. There are two types of requests - those that happen within the context of a session and those that do not require a session to exist.

These are the parameters required for all API calls:

Parameter Required Description
method The method name. The method must be one of those exposed by the API documentation, or the API will return error code 112 (with message 'Method was not found').
apiKey The vendor-specific API key corresponding to the community and the site making the API call. This is the same as in the login request.
community Community name.
apiSig The signature for the method call.

The signature is constructed using the following algorithm (after all the other arguments have been determined):

args = array of args to the request, formatted in arg=val pairs
sorted_array = alphabetically_sort_array_by_keys(args);
request_str = concatenate_in_order(sorted_array);
signature = md5(concatenate(request_str, secret))

Example

http://platform.converdge.com.dev/api.php?apiKey=myApiKey&community=mashable&method=up.users.getInfo&uids=1,2,3,4,5&apiSig=da3fe9fe36e03188e5270399de48c395

Back to API.