This project has moved and is read-only. For the latest updates, please go here.

show my flckr´s photos without login

Mar 25, 2009 at 7:40 PM
Hi everybody, what I want to do is show an image gallery with my flick photos in a web application, but when I open the first time my page i have to login with my flickr account. I watched a discussion with a similar problem but i cant solve it. This is my code:


(!IsPostBack && Request.QueryString["frob"] == null)



    Flickr flickr = new Flickr(apiKey, secret, myToken);







String url = flickr.AuthCalcWebUrl(AuthLevel.Read);// Store this Token for later usage,


Label1.Text = Label1.Text +

"User authenticated successfully";



I do not know if what I want to do is posible, if there is a better way to do it, tell me please

Mar 25, 2009 at 9:56 PM

My problem is solved, i watched the webapp example and then i made some changes to my code, and finally I  got shown my images in my application without login to my flickr account, i did not undestand what i was doing in my code. This is what i did:

void albumes()




Flickr flickr = new Flickr();



Photosets lista = flickr.PhotosetsGetList(ConfigurationManager.AppSettings.Get("UserId"));



Photoset[] n_album = lista.PhotosetCollection;






Pretty easy, or not??

Mar 26, 2009 at 11:53 AM
Yes, that will work fine. You only need the authentication if you want to show private photos.