-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Obrzut wrote: > Hi, > > Yes, I copied the sample exactly - but I did not see the part where I > had to copy the URL to a browser to get the pin. > > But, I have used your library to much success! It is amazing! I can > now login to twitter using OAuth! > > Can you please tell me the following; > > 1. What license have you used for your code? (BSD, GPL ???) > > 2. Do you require crediting in any way if I were to use your code in > my application for release? > > 3. I am writing an Open Source application - can I use your code in it > without having to pay royalties? > > Please answer these questions - as my application relies heavily on > your OAuth.Twitter.DLL > > Kind regards, > > Obrzut > > On Jun 26, 5:18 pm, Bojan Rajkovic <[email protected]> wrote: > > > > > Obrzut wrote: > >>> Well, I only copied your sample code to the letter? > >>> It is not my intention to use your API incorrectly. > >>> I have a pounding headache this morning so all Twitter API > >>> development is at a halt.:( > >>> Kind regards, > >>> Obrzut > >>> On Jun 26, 1:25 am, Bojan Rajkovic <[email protected]> wrote: > >>> Obrzut wrote: > >>>>>> Hello, Sadly, your API does not work. :( odule Module1 Sub > >>>>>> Main() Dim pin As Integer = 0 Dim OAuth As New > >>>>>> OAuth.Twitter("Key","Secret") OAuth.Debugging = True Dim URL > >>>>>> As String = OAuth.GetAuthorizationLink() Dim pinRead As > >>>>>> String = String.Empty While Not > >>>>>> (System.Int16.TryParse(pinRead, pin)) Console.WriteLine("Type > >>>>>> in the PIN provided by Twitter and press Enter/Return.") > >>>>>> Console.WriteLine(pinRead) pinRead = Console.ReadLine() End > >>>>>> While If OAuth.GetAccessToken(pin) Then URL = > >>>>>> "http://twitter.com/account/verify_credentials.xml" Dim Xml > >>>>>> As String = (OAuth.WebRequest > >>>>>> (Global.OAuth.RequestMethod.GET, URL, String.Empty)) > >>>>>> Console.WriteLine(Xml) End If End Sub End Module > >>>>>> ------------------------------------------------------------ > >>>>>> This is my code - using your API. But, no pin appears - why? > >>>>>> It fails on the pin number. > >>> You're using the API wrong. You have to open the webpage provided > >>> by GetAuthorizationLink (), and get the PIN from there. I won't > >>> parse the page that Twitter sends back with the PIN. > You clearly did not copy the entire sample--I just checked the sample, > and there's a part where the URL is written to the console, and you > are asked to open the URL and get the pin. Please check the sample > again, make sure you are using it exactly. > The library is licensed under the MIT license, so it is free and open source software. :) You are welcome to it under the terms of the MIT license, whose entire text you can read in the headers in each file. Enjoy the library, I'm glad you can put it to good use!
Cheers, Bojan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJKRZXkAAoJEO4IwQyHg9AWahwP/3vODIvc7SqV/dWRic1lFxtW 8hhBDbka+eQINw5IQXdKNvxzYSu9aXshLN0SnM/GHkCoALabhrgshN0Nf3BZSdjD QGNrqu1gX5+zYlSjkTjom9fpaPcaulZNsoc+ELSBrwdK+WfaVQcZ/0MgGQi6MGX0 KW6/Wx+iuvL2OOdjYEKSja5soSACBi1IFR2YkbonlHLtJqWVdSGFT8P0gAOwFYSv OGq0VtaiF8FQ/gsSTp/pLP+MCDIxEAukqTs2PUT1jfqrKHRUChwropVjDG0Shplz QJ+FyLRYn+dNkUnpH6Qx8EhBzP649QXB8ofnswfl139aC5jULDzqytP79u6ROqKo yrBLPWrv6ZQkS0Wv35EMzJaaJnXW2F+dMPBrsQn7bbjnORd2TUtZvkyyf7YXKc8t JLGqB0eLdyqQFToIdX7qmhcv3M6cVmeWl0yFvPYQDrDHwiiM2CLHqyHwnjHm8sD5 dwRiscyjdPRm7I3d7LYwNAfvGRLW7TMTJZbGaAeLXfP9Ze84TIbIXc4iN1t8dBsa enmvt7Jjgu36b+U4YjhcvlidRUEP2VYcijU8WHbMGKM416Vu7Uli+xhkC+vny3UV uZkKDcjMV4YvPF8lt3VsAA14T0QpgkPK+rswsI33LZbKBLxrk4T4EsVxxjc78Bh/ Td/ewEXbnXIrC6Tn1RTE =zZy1 -----END PGP SIGNATURE-----
