Authentication failed : Invalid frob (108) ???

Topics: User Forum
Oct 15, 2006 at 3:20 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");
}
}
Oct 15, 2006 at 4:16 PM
sorry i post it twice


i find the reason
it's look like
System.Diagnostics.Process.Start(url);
doesn't work well ...

i must copy the url to browser then pust the second button,then it's ok

but anybody look the same problem?
Sep 26, 2007 at 6:30 PM
hii,
I am now having the same problem, how can i solve it?
Coordinator
Sep 27, 2007 at 12:30 PM
Can you give me more details on what you are doing? Are you definitely going to the Flickr web site and authenticating before you are requesting the token?
Nov 2, 2007 at 10:53 PM
I'm seeing the same problem, but only on Vista. Vista is doing VERY bad stuff with the following:

System.Diagnostics.Process.Start("iexplore", flickrUrl);

First , it starts the iexplore process.
Then, it quickly exits it.
Then another iexplore process is started (with the url).

The result, of course, is that the first process almost immediately fires off its "exited" event, before any authorization has occurred. Result = "invalid frob".

Argh. Anyone have a solution for this?
Feb 7, 2008 at 7:04 AM
hi All
i am writing an application for flickr by using flickcurl API , but
invalid frob problem is comeing , when i use getFrob() which passes flickcurl *fc as parameter ,
but whatever it frob it is returning is not acceptable by getToken()
it is telling invalid frob for authentication ..

If any anyone knows the solution please reply ..

thanks
coolsatish
Coordinator
Feb 7, 2008 at 8:36 AM
This isn't the Flickrcurl web site - I don't know C at all, and have no idea what a *fc parameter is.

You must however make sure you are authenticating the application in between getting the Frob and calling getToken.