Building a Twitter App to Send Tweets

This forum contains topics that were moved from Get Satisfaction
Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Building a Twitter App to Send Tweets

Post 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

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Building a Twitter App to Send Tweets

Post 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).

Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Building a Twitter App to Send Tweets

Post 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

  1. create an App

  2. 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

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Building a Twitter App to Send Tweets

Post 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.

Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Building a Twitter App to Send Tweets

Post by Mark7294305 »

Here are the errors
Image

Image

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Building a Twitter App to Send Tweets

Post 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)

Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Building a Twitter App to Send Tweets

Post by Mark7294305 »

oauth_signature_method=\\\""HMAC-SHA1\\\""

Post Reply