User:Noknokdev

Introduction
API Protocol


 * Representational_State_Transfer(REST)


 * HTTP Requests: Post and GET

Data Format


 * XML, *Json, *RSS,*ATOM

Encoding


 * UTF8

authen
URL: http://api.noknok.sanook.com/rest/auth

Format: xml

Method(s): GET, POST

Parameters:
 * username (required)
 * password (required)

Return:
 * authToken

profile
URL: http://api.noknok.sanook.com/rest/profile

Format: xml

Method(s): GET

Parameters:
 * authToken (required)

Return:
 * User's profile data

user timeline
URL: http://api.noknok.sanook.com/rest/user_timeline

Format: xml

Method(s): GET, POST

Parameters:
 * user (required)
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's timeline data

update timeline
URL: http://api.noknok.sanook.com/rest/update_timeline

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * Update user timeline data

public timeline
URL: http://api.noknok.sanook.com/rest/public_timeline

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * Public timeline data

replies
URL: http://api.noknok.sanook.com/rest/replies

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's replied data

user
URL: http://api.noknok.sanook.com/rest/user/

Format: xml

Method(s): GET

Parameters:

Return:
 * User's profile data

friends
URL: http://api.noknok.sanook.com/rest/friends

Format: xml

Method(s): GET, POST

Parameters:
 * user (required)
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's friends data

followings
URL: http://api.noknok.sanook.com/rest/followings

Format: xml

Method(s): GET, POST

Parameters:
 * user (required)
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's followings data

followers
URL: http://api.noknok.sanook.com/rest/followers

Format: xml

Method(s): GET, POST

Parameters:
 * user (required)
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's followers data

new
URL: http://api.noknok.sanook.com/rest/message_new

Format: XML

Method(s): GET, POST

Parameters:
 * authToken (required:GET)
 * message (required:POST)
 * add_from (option:POST,('WEP,WAP,IPHONE'), default:WEB)

Return
 * Sending message data

delete
URL: http://api.noknok.sanook.com/rest/message_delete

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * message_id (required)

Return:
 * Deleting message ID

inbox
URL: http://api.noknok.sanook.com/rest/direct_message_inbox

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's direct messages from inbox

send
URL: http://api.noknok.sanook.com/rest/direct_message_send

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * Sending status (true or false)

new
URL: http://api.noknok.sanook.com/rest/direct_message_new

Format: xml

Method(s): POST

Parameters:
 * authToken (required:GET)
 * message (required:POST)
 * message_to (required:POST)

Return:
 * Sending status (true or false)

delete
URL: http://api.noknok.sanook.com/rest/direct_message_delete

Format: xml

Method(s): GET, POST

Parameters:
 * authToken (required)
 * message_id (required)

Return:
 * Deleting message ID

favorites
URL: http://api.noknok.sanook.com/rest/favorites

Format: xml

Method(s): GET

Parameters:
 * user (required)
 * authToken (option)
 * count (option, default:20)
 * page (option, default:1)

Return:
 * User's favorites messages

add favorites
URL: http://api.noknok.sanook.com/rest/favoritesAdd

Format: xml

Method(s): GET

Parameters:
 * authToken (required)
 * message_id (required)

Return:
 * Add message to User's favorites

delete favorites
URL: http://api.noknok.sanook.com/rest/favoritesDelete

Format: xml

Method(s): GET

Parameters:
 * authToken (required)
 * favorite_id (required)
 * message_id (required)

Return:
 * Delete message from favorites

get feeds setting
URL: http://api.noknok.sanook.com/rest/getFeedsSetting

Format: xml

Method(s): GET

Parameters:
 * authToken (required)

Return:
 * User's feeds account

set feeds account
URL: http://api.noknok.sanook.com/rest/setFeeds

Format: xml

Method(s): GET

Parameters: Return:
 * authToken (required)
 * type (required:TWITTER,YOUTUBE)
 * feedsuser (required)
 * User's add feeds account

delete feeds account
URL: http://api.noknok.sanook.com/rest/deleteFeeds

Format: xml

Method(s): GET

Parameters: Return:
 * authToken (required)
 * type (required:TWITTER,YOUTUBE)
 * delete feeds account