Tuesday, December 13, 2011

Code: logout Api for Linkedin

Hmmm!
It's not an API, simple tric...!
Just JS dynamic image tag solves our problem....

open script tag
new Image().src='https://www.linkedin.com/secure/login?session_full_logout=&trk=hb_signout'
close script tag

njoy...

6 comments:

  1. Thank you Naresh! Works perfectly!

    ReplyDelete
  2. Hi Naresh How I can singout using DotNetOpenAuth in Asp.net.?
    I am login as LinkedIn but I am trying to logout I haven't get any clue of succeed can tell me how I can singout in asp.net.?

    Thank you,
    -Jitendra Jadav

    ReplyDelete
    Replies
    1. Make a URL-fetch (REST API) on "https://www.linkedin.com/secure/login?session_full_logout=&trk=hb_signout".

      Delete
    2. Hi Naresh How I can logout the linkedin through url in asp.net

      Delete
  3. Hi Naresh How I can logout the linkedin through url and revoke the access token in asp.net

    ReplyDelete