I am creating a program in VB6 that connects the Social Networks and lets you post straight through by it, I managed to set up Facebook, but the Twitter I don’t understand as do authentication by OAuth.
On Facebook i did so:
1º I open the following URL in Webbrowser:
“https://graph.facebook.com/oauth/authorize?client_id=MY APPLICATION ID&redirect_uri=http://www.facebook.com/connect/login_success.html&scope=read_mailbox,manage_notifications,status_update&type=user_agent”
2º Waits for the Webbrowser have the “access_token” (KeyFacebook) in the URL, and get by INET the “User ID” (IDFacebook):
Inet1.Execute “https://graph.facebook.com/me?access_token=” & KeyFacebook, “GET”
3º With the “access_token” and “User ID”, just run the code to post:
InetFacebook.Execute “https://graph.facebook.com/” & IDFacebook & “/feed?message=” & FacebookMSG & “&access_token=” & KeyFacebook, “POST”
I was wondering if is can do something similar by Twitter, where I use the Webbrowser to get the authorization code and then use the INET to post messages.
Thanks in advance!
*Sorry for my bad english!