Share kcy

Description

Allows the application share a kcy to the social networks of the user. This API is used after recovering user's networks with 'networks' API and also after the kcy has been shortened with 'kcy.me' API. With the information returned from those API, this API is invoked to send a kcy with the desired text to the social networks of the user: facebook, twitter, ....

Endpoint

http://karmacracy.com/api/v1/share/

Arguments

Name Type Description
u string Username. (required)
k string 3rd party app key. (required)
txt string Text to send to the social network. (required)
kcy string Kcy of the shared Keyword. (required)
where string Identifier of the network to send to, with this form: RR_IDCONNECT; being 'RR' the property 'type' of the network object, and IDCONNECT the property'connectId'. (required)
appkey string API key. (required) Ask for one!

Output

JSON format object.

* error = variable that indicates if an error occurred
* result = output variable that tells if there has been an error (1), or not (0).
* msg = variable that adds additional information in case of error

Example

http://karmacracy.com/api/v1/share?u=xx&k=xxx&txt=xxx&kcy=3s&where=TW_XXXXX&appkey=xxxx (POST method recommended)