What authInfo ?I want run this code but I dont know find authInfo . var users = new InstaSharp.Endpoints.Users.Authenticated ( config, authInfo )
please if you have code Instasharp sdk in asp.net ,you share
If you're using the binaries instead of GitHub code, there are some small differences: the OAuth
class is called InstaSharp.Auth
.
For authInfo
; You can create a new instance of InstaSharp.AuthInfo
object with no parameters and set the access token to use it wherever you like:
AuthInfo authInfo = new AuthInfo();
authInfo.Access_Token = "the code you get after user authentication";
I hope it helps.