- First Create an application in Delicious
test app
- Description: testing
app
- Client ID:
59b8e285cc1859da599f32e72f6ccb0
- Client Secret:
69382e528777bfb06e2af769cb748a92
- Send the request for users’ authorization.
https://delicious.com/auth/authorize?client_id=
CLIENT_ID
& redirect_uri=http://www.example.com/redirect
- Response
http://www.example.com/redirect?code=6c649087ae02c08612031fe3ddff74e2
- Then send the above code for get Access Token
https://avosapi.delicious.com/api/v1/oauth/token?client_id=
CLIENT-ID
&client_secret=
CLIENT
-SECRETE
&grant_type=code&code=
AUTHORIZAN-CODE
{ "pkg": null, "status": "success", "url":
Responce:
"http://avosapi.delicious.com/
api
/v1/oauth/token?client_id=9b39da2f5fc4dc40975040e83d4b2b41&
client
_secret=91c6293c82e3b3c3b8b74935eaab1849&grant_type=code&code=
f07850c3cc21f2e9d666ee75a86e6193
"
,
"delta_ms": 62, "server": "ip-10-196-3-19.us-west-1.compute.internal",
"session": "1tkrfqh1e4uqe16ya1jwijs2sp",
"api_mgmt_ms": 0, "version": "v1",
"access_token": "9931064-44753f98a0fbd735440ba820cuad240"
Good Job Bro
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeletehow to redirect on url which has GET parameter
ReplyDelete
ReplyDeleteyou can simply send this request in browser with your Delicious app clientID
"https://delicious.com/auth/authorize?client_id=CLIENT_ID& redirect_uri=http://www.example.com/redirect"