Authentication failed : Invalid frob (108) ???

Topics: User Forum
Oct 15, 2006 at 3:19 PM
i can get frob ,
but i can't use flickr.AuthGetToken(frob)
debug output :Authentication failed : Invalid frob (108)
my frob like this :"4563432-d06b226708777e6e"
i don't know why?

this my code :
private void button1_Click(object sender, System.EventArgs e)
{

Flickr flickr = new Flickr(ApiKey, SharedSecret);

frob = flickr.AuthGetFrob();

string url = flickr.AuthCalcUrl(frob, AuthLevel.Write);

System.Diagnostics.Process.Start(url);



}

private void button2_Click(object sender, System.EventArgs e)
{
Flickr flickr = new Flickr(ApiKey, SharedSecret);

try
{
Auth auth = flickr.AuthGetToken(frob);

}
catch (FlickrException ex)
{
Console.WriteLine("Authentication failed : " + ex.Message + "\r\n");
}
}