BP Forums
Vs2008 TwitterVb - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+---- Thread: Vs2008 TwitterVb (/showthread.php?tid=380)



Vs2008 TwitterVb - histromon - 08-05-2011

Hi, I have looked at your video and i encounter some problem.

Code:
If TextBox1.Text = "" Then
            MsgBox("You must insert a code!")
        Else
            'Proceed

            Dim isvalid As Boolean = tw.ValidatePIN(TextBox1.Text)
            If isvalid = True Then
                Dim oauthToken As String = tw.OAuth_Token()
                Dim oauthtokensecret As String = tw.OAuth_TokenSecret()
            Else
                MsgBox("Wrong code!")
            End If
        End If

IT always return me false when button is clicked. Need help urgently


Re: Vs2008 TwitterVb - brandonio21 - 08-05-2011

Are you entering the correct 7 digit code from Twitter? Make sure the code has no spaces before or after it.


Re: Vs2008 TwitterVb - histromon - 08-05-2011

Yes. I have entered many times, but it doesnt seems to work.


Re: Vs2008 TwitterVb - histromon - 08-05-2011

Please do help me, i need to figure out by sunday. D:


Re: Vs2008 TwitterVb - brandonio21 - 08-05-2011

Uhhh. Well with the information you are providing us with, we can't really do anything. I mean, the code is literally directly from my tutorial and it should work.


Re: Vs2008 TwitterVb - histromon - 08-05-2011

It keep throwing me False at Isvalid. And my access is read only. :O how can i get read/write?


Re: Vs2008 TwitterVb - brandonio21 - 08-06-2011

You can't get read/write on that variable because it needs to make sure the code is correct before you can do anything. There is nothing much else I can do to help... You must just be entering the code incorrectly.


Re: Vs2008 TwitterVb - histromon - 08-07-2011

I'm sure i keyed in the correct one. Because i attempted many times. D:


Re: Vs2008 TwitterVb - histromon - 08-07-2011

What should i enter for the website & callback url when i create my application on dev.twitter?


Re: Vs2008 TwitterVb - histromon - 08-07-2011

Okay, i have used another way to tweet. But how isit possible to display tweets & delete them? <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->


Re: Vs2008 TwitterVb - brandonio21 - 08-07-2011

Well that's great. And for the URL and Callback URL, I have no idea...

Anyway, in order to display and delete tweets, you will need the user to authenticate with the code. (The thing you were having problems with....) So this could be difficult...