2012年9月14日 星期五

【OAuth for plurk】Using plurk api(oauth)

Link below website to register an app

http://www.plurk.com/PlurkApp/http://www.plurk.com/PlurkApp/

image

image

(*Red block is required)

image

Then we can click the test tool(test console)

image

Next we should get Token Key first,click【Get Requet Token】directly.

The action will link to http://www.plurk.com/OAuth/request_token and using get method to get Token Key

and Token Secret

image

Next step we click the 【Optn Authorization URL】,the action will produce an link as below

 

http://www.plurk.com/OAuth/authorize?oauth_token=XX

and open another window to the link

The XX is above Token Key

i.e http://www.plurk.com/OAuth/authorize?oauth_token=Req1JK0ClV84

Below link will ask you login your plurk account,when you completed,you will get below page,ask your authorized.

image

When your confirm,you will get a pin as below.

image

Please remember the pin and back to 【test console】,click  【Get Access Token

The action will popup an alert to ask you entering the pin

image

When you confirm,the app can do Api call via your account.We can check the app on your app list.

image

Sure,you can cancel the app’s authorization on above red block.