主页附带一个flickr令牌页面

时间:2017-06-27 05:01:46

标签: c# .net flicker

我试过以下代码。
AuthCalcUrl方法后,网址将转到https://www.flickr.com/

flickr = new Flickr("xx....XX", "xx....XX");
string Frob = flickr.AuthGetFrob();
string url = flickr.AuthCalcUrl(Frob, AuthLevel.Write);
System.Diagnostics.Process.Start(url);

Auth auth = flickr.AuthGetToken(Frob);
flickr.AuthToken = auth.Token;
requestToken = flickr.OAuthGetRequestToken("oob");
string url1 = flickr.OAuthCalculateAuthorizationUrl(requestToken.Token, AuthLevel.Write);
System.Diagnostics.Process.Start(url1);

0 个答案:

没有答案