....
string apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
string sharedSecret = "xxxxxxxxxxxxxxx";
// get frob
Flickr flickr = new Flickr(apiKey, sharedSecret);
string frob = flickr.AuthGetFrob();
// redirect to url
string url = flickr.AuthCalcUrl(frob, AuthLevel.Write);
System.Diagnostics.Process.Start(url);
// authentication using frob and getToken
Auth auth = flickr.AuthGetToken(frob);
Aucun commentaire:
Enregistrer un commentaire