You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run TwitterClient.exe and attempt to use twitter client without visiting Twitter
Press 0 at PIN Authorization, attempting to bypass user interaction.
Even when supplying a proper Username and Password the application will fail
What is the expected output? What do you see instead?
The TwitCurl uses the function oAuthHandlePIN to connect to twitter and submit a signin/authorize form to Twitter with the username and password supplied. Instead of returning a page with the pin encapsulated in: code-desc">######, the form submit returns a page with:
What version of the product are you using? On what operating system?
Using Windows 7, and the latest source downloaded from GitHUB.
Please provide any additional information below.
It seems twitter may have updated this webpage because inorder to get TwitCURL to find the Authenticity_Token and oAuthToken, I had to update
twitcurlurls.h
const std::string OAUTHLIB_TOKEN_END_TAG_TWITTER_RESP = "" />";
to this:
const std::string OAUTHLIB_TOKEN_END_TAG_TWITTER_RESP = "">";
Visiting Twitter and collecting the pin there and returning it to the application still works fine, but I need this library to be able to automate Twitter Status Updates without user interaction.
The text was updated successfully, but these errors were encountered:
It wont work, this used to work on API 1.0, but since Twitter does not accept 1.0 any more, no way help. Maybe doing a curl to the page, and parsing HTML and extracting PIN.
But sounds more a hack than the correct way to proceed
The way the original code worked was to send a cUrl page to Twitter then parse the response for the PIN, Twitter just made some changes to how this had to be accomplished, requiring a session cookie to be passed along with the form submission, unfortunately my need to automate the tweets for Twitter users for whom I have usernames and passwords for left not alternative in the supported Twitter API.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
You are being redirected.The TwitCurl uses the function oAuthHandlePIN to connect to twitter and submit a signin/authorize form to Twitter with the username and password supplied. Instead of returning a page with the pin encapsulated in: code-desc">
######
, the form submit returns a page with:What version of the product are you using? On what operating system?
Using Windows 7, and the latest source downloaded from GitHUB.
Please provide any additional information below.
It seems twitter may have updated this webpage because inorder to get TwitCURL to find the Authenticity_Token and oAuthToken, I had to update
twitcurlurls.h
const std::string OAUTHLIB_TOKEN_END_TAG_TWITTER_RESP = "" />";
to this:
const std::string OAUTHLIB_TOKEN_END_TAG_TWITTER_RESP = "">";
Visiting Twitter and collecting the pin there and returning it to the application still works fine, but I need this library to be able to automate Twitter Status Updates without user interaction.
The text was updated successfully, but these errors were encountered: