Login Token Sample WebApp

Your apiKey:

Step 1: Get Login URL

Call istockphoto.auth.getLoginTokenURL with:

bounceBack:
language:

Step 2: Redirect

Redirect the user to the returned URL. They will login on the iStockphoto site, then be redirected back to the location specified by the bounceBack parameter above, with the tokenid parameter appended to the URL.

Redirect URL:
unknown

Step 3: Login With Token

Call istockphoto.auth.loginWithToken with the returned tokenid parameter to get an authenticated sessionID

tokenid:

Step 4: Get Authenticated SessionID

Use the returned sessionID in subsequent API calls to act on behalf of the user

Authenticated SessionID:
unknown