We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b01be9 commit 60f687dCopy full SHA for 60f687d
samples/VBExample/Form1.vb
@@ -111,11 +111,17 @@ Public Class Form1
111
LoadSession()
112
113
If Not InstaApi.IsUserAuthenticated Then
114
+ ' Call this function before calling LoginAsync
115
+ Await InstaApi.SendRequestsBeforeLoginAsync()
116
+
117
118
Dim logInResult = Await InstaApi.LoginAsync()
119
Debug.WriteLine(logInResult.Value)
120
If logInResult.Succeeded Then
121
GetFeedButton.Visible = True
122
Text = $"{AppName} Connected"
123
+ 'Call this function after a successful login
124
+ Await InstaApi.SendRequestsAfterLoginAsync()
125
' Save session
126
SaveSession()
127
ElseIf (logInResult.Value = InstaLoginResult.ChallengeRequired) Then
0 commit comments