tags:

views:

58

answers:

1

Hello,

What is the right way to find out if a user has logged in to Flickr? I have an iframe in my application which lets user's download their images from Flickr. But if the user is not logged into flickr, then flickr redirects me OUT of the iframe to the yahoo home page.

I would like to do the following: - Check if the user has logged into flickr, if he has, then download his images in the iframe. - Else, open a new browser window which will let the user enter his flickr login credentials.

Any suggestions from the experts?

+1  A: 

You should use the Flikr API. You need to setup proper flikr authentication in your app. According to the docs, the authentication should flow like this:

Our web based app has the api key '1234567890'. It has already registered a callback url for this key - 'http://viewr.com/auth.php'.

Byron Whitlock