i am doing a web site application. and in this application i have to use flickr to upload users' pictures to flickr.
this is my c# code to upload picture:
Flickr flk = new Flickr(appKey, secret);
frob = flk.AuthGetFrob();
string flickrUrl = flk.AuthCalcWebUrl(AuthLevel.Write);
Auth auth = new Auth();
auth = flk.AuthGetToken(frob);
flk.ApiToken = auth.Token;
string UploadToFlickr = flk.UploadPicture(stream,txtCatName.Text,txtStory.Text,txtTown.Text + " / " + ddlRegion.SelectedItem.ToString(),1,1,1);
but in the line : auth=flk.AuthGetToken(frob); i got the error message : Invalid frob (108)
now where is my mistake? how can i take the right frob and token values to upload picture to flickr?