Authentication

Let user login and authenticate with your application.

HTTP REQUEST

REDIRECT https://api2.socialall.io/login

Query Parameters

Parameter Value Description
app_id Your application's id.
network network Network user want to connect.
callback Callback url to retrieve user's token.


API

Response and Error

If success, all responses will like this:

{
    "success": true,
    "result": ...result... 
}
Name Description Type
success default: true boolean
result any type

If any errors occurred, the response will like this:

{
    "error": ...error message...
}
Name Description Type
error error message string

/user

This endpoint retrieves user information.

HTTP Request

GET https://api2.socialall.io/user

Query Parameters

Parameter Value Description
token User's token

Response

The result return an user object

/friends

This endpoint retrieves user's friends.

HTTP Request

GET https://api2.socialall.io/friends

URL Parameters

Parameter Value Description
token User's token

Response

The result return array of user objects

/message

This endpoint will send message to user's friends.

HTTP Request

GET https://api2.socialall.io/message

URL Parameters

Parameter Value Description
token User's token
message Message content
friends List friend ids join by comma
title [optional] Title for LinkedIn and Tumblr

Response

The result return empty object

/publish

This endpoint will publish a message to user's wall/timeline/stream.

HTTP Request

GET https://api2.socialall.io/publish

URL Parameters

Parameter Value Description
token User's token
message Message

Response

The result return an object include fields:

Name Description Type
link new posted link(if exist) or empty string string