Page 2 of 2
Building a Twitter App to Send Tweets
Posted: Thu May 25, 2017 10:34 am
by Mark7294305
Hello Support
I have been stuck on this for months and after reading ever possible article I still cannot find a straight forward solution to get this working. Please could you advise me on how can I pay for this solution.
Thanks
Building a Twitter App to Send Tweets
Posted: Thu May 25, 2017 11:17 am
by Serhii Kulibaba
Could you clarify what you have tried and what exactly does not work?
You may consider purchasing Advisory Pack to get more in-depth help on this question. Here is more information about Advisory Pack (http://appery.io/services/#Advisory_Pack).
Building a Twitter App to Send Tweets
Posted: Thu May 25, 2017 12:19 pm
by Mark7294305
Hi Serhii
OK I was advised to use the doc https://docs.appery.io/docs/samples-o... as guide as it use OAuth. According to the twitter api doc The 1st stage is to request a token https://dev.twitter.com/oauth/referen.... So what I have done is
create an App
add a button and on click run the following script
//var redirect_url = "https://api.appery.io/rest/1/code/"+ Settings.scriptID +"/exec";
var redirect_url = "https://appery.io/app/view/4b**/app/H...";
var url ="https://twitter.com/oauth/request_tok...";
window.location.href=url;
The results are that the page is not redirected and the token is not received and saved to the local storage variable
Building a Twitter App to Send Tweets
Posted: Thu May 25, 2017 1:45 pm
by Serhii Kulibaba
Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.
Building a Twitter App to Send Tweets
Posted: Sun Jun 18, 2017 11:52 am
by Mark7294305
Here are the errors
Building a Twitter App to Send Tweets
Posted: Mon Jul 03, 2017 1:13 pm
by Serhii Kulibaba
The error is related to the icon, so it is not an issue.
Please clarify, does redirect work there?
Could you check the variable "redirect_url". It seems incorrect ("star" symbols)
Building a Twitter App to Send Tweets
Posted: Mon Jul 20, 2020 7:00 pm
by Mark7294305
oauth_signature_method=\\\""HMAC-SHA1\\\""