Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying to use the TumblR package in R to set up the Oauth Authentication to Retrieve a user's dashboard using the second example in
tumblR documentation
However I get the following error, it seems that using twitter others have been able to use a different function to get around this, but I am not finding the same function available for Tumblr.
See twitter package for R authentication: error 401
My code



consumer_key <- OKey
consumer_secret <- SKey
appname <- App_name
tokenURL <- 'http://www.tumblr.com/oauth/request_token'
accessTokenURL <- 'http://www.tumblr.com/oauth/acces_token'
authorizeURL <- 'http://www.tumblr.com/oauth/authorize'
app <- oauth_app(appname , consumer_key, consumer_secret)
endpoint <- oauth_endpoint(tokenURL, authorizeURL, accessTokenURL)
token <- oauth1.0_token(endpoint, app)


The error I am receiving is the following.




Error in init_oauth1.0(self$endpoint, self$app, permission =
self$params$permission, : Unauthorized (HTTP 401)




I am using R version 3.4.0 and Rstudio Version 1.1.463










share|improve this question































    0















    I am trying to use the TumblR package in R to set up the Oauth Authentication to Retrieve a user's dashboard using the second example in
    tumblR documentation
    However I get the following error, it seems that using twitter others have been able to use a different function to get around this, but I am not finding the same function available for Tumblr.
    See twitter package for R authentication: error 401
    My code



    consumer_key <- OKey
    consumer_secret <- SKey
    appname <- App_name
    tokenURL <- 'http://www.tumblr.com/oauth/request_token'
    accessTokenURL <- 'http://www.tumblr.com/oauth/acces_token'
    authorizeURL <- 'http://www.tumblr.com/oauth/authorize'
    app <- oauth_app(appname , consumer_key, consumer_secret)
    endpoint <- oauth_endpoint(tokenURL, authorizeURL, accessTokenURL)
    token <- oauth1.0_token(endpoint, app)


    The error I am receiving is the following.




    Error in init_oauth1.0(self$endpoint, self$app, permission =
    self$params$permission, : Unauthorized (HTTP 401)




    I am using R version 3.4.0 and Rstudio Version 1.1.463










    share|improve this question



























      0












      0








      0








      I am trying to use the TumblR package in R to set up the Oauth Authentication to Retrieve a user's dashboard using the second example in
      tumblR documentation
      However I get the following error, it seems that using twitter others have been able to use a different function to get around this, but I am not finding the same function available for Tumblr.
      See twitter package for R authentication: error 401
      My code



      consumer_key <- OKey
      consumer_secret <- SKey
      appname <- App_name
      tokenURL <- 'http://www.tumblr.com/oauth/request_token'
      accessTokenURL <- 'http://www.tumblr.com/oauth/acces_token'
      authorizeURL <- 'http://www.tumblr.com/oauth/authorize'
      app <- oauth_app(appname , consumer_key, consumer_secret)
      endpoint <- oauth_endpoint(tokenURL, authorizeURL, accessTokenURL)
      token <- oauth1.0_token(endpoint, app)


      The error I am receiving is the following.




      Error in init_oauth1.0(self$endpoint, self$app, permission =
      self$params$permission, : Unauthorized (HTTP 401)




      I am using R version 3.4.0 and Rstudio Version 1.1.463










      share|improve this question
















      I am trying to use the TumblR package in R to set up the Oauth Authentication to Retrieve a user's dashboard using the second example in
      tumblR documentation
      However I get the following error, it seems that using twitter others have been able to use a different function to get around this, but I am not finding the same function available for Tumblr.
      See twitter package for R authentication: error 401
      My code



      consumer_key <- OKey
      consumer_secret <- SKey
      appname <- App_name
      tokenURL <- 'http://www.tumblr.com/oauth/request_token'
      accessTokenURL <- 'http://www.tumblr.com/oauth/acces_token'
      authorizeURL <- 'http://www.tumblr.com/oauth/authorize'
      app <- oauth_app(appname , consumer_key, consumer_secret)
      endpoint <- oauth_endpoint(tokenURL, authorizeURL, accessTokenURL)
      token <- oauth1.0_token(endpoint, app)


      The error I am receiving is the following.




      Error in init_oauth1.0(self$endpoint, self$app, permission =
      self$params$permission, : Unauthorized (HTTP 401)




      I am using R version 3.4.0 and Rstudio Version 1.1.463







      r oauth tumblr






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 16 '18 at 23:40









      Shree

      3,5261424




      3,5261424










      asked Nov 16 '18 at 19:28









      STATMATTSTATMATT

      73




      73
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Reply from the package maintainer.



          I'm sorry for the delay in the reply, I'm currently out for work.



          The problem you reported depends on the change in the http protocol. The API URLs are now passed to https.
          You can use



          tokenURL <- 'https://www.tumblr.com/oauth/request_token'
          accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
          authorizeURL <- 'https://www.tumblr.com/oauth/authorize'


          I realized it only thanks to your report.
          During the Christmas holidays, I plan to arrange the package.



          If you have other evidence, let me know.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344220%2fretrieve-a-users-dashboard-in-tumblr-with-r-and-tumblr-oauth-issues%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Reply from the package maintainer.



            I'm sorry for the delay in the reply, I'm currently out for work.



            The problem you reported depends on the change in the http protocol. The API URLs are now passed to https.
            You can use



            tokenURL <- 'https://www.tumblr.com/oauth/request_token'
            accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
            authorizeURL <- 'https://www.tumblr.com/oauth/authorize'


            I realized it only thanks to your report.
            During the Christmas holidays, I plan to arrange the package.



            If you have other evidence, let me know.






            share|improve this answer




























              0














              Reply from the package maintainer.



              I'm sorry for the delay in the reply, I'm currently out for work.



              The problem you reported depends on the change in the http protocol. The API URLs are now passed to https.
              You can use



              tokenURL <- 'https://www.tumblr.com/oauth/request_token'
              accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
              authorizeURL <- 'https://www.tumblr.com/oauth/authorize'


              I realized it only thanks to your report.
              During the Christmas holidays, I plan to arrange the package.



              If you have other evidence, let me know.






              share|improve this answer


























                0












                0








                0







                Reply from the package maintainer.



                I'm sorry for the delay in the reply, I'm currently out for work.



                The problem you reported depends on the change in the http protocol. The API URLs are now passed to https.
                You can use



                tokenURL <- 'https://www.tumblr.com/oauth/request_token'
                accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
                authorizeURL <- 'https://www.tumblr.com/oauth/authorize'


                I realized it only thanks to your report.
                During the Christmas holidays, I plan to arrange the package.



                If you have other evidence, let me know.






                share|improve this answer













                Reply from the package maintainer.



                I'm sorry for the delay in the reply, I'm currently out for work.



                The problem you reported depends on the change in the http protocol. The API URLs are now passed to https.
                You can use



                tokenURL <- 'https://www.tumblr.com/oauth/request_token'
                accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
                authorizeURL <- 'https://www.tumblr.com/oauth/authorize'


                I realized it only thanks to your report.
                During the Christmas holidays, I plan to arrange the package.



                If you have other evidence, let me know.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 27 '18 at 20:44









                STATMATTSTATMATT

                73




                73
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344220%2fretrieve-a-users-dashboard-in-tumblr-with-r-and-tumblr-oauth-issues%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Florida Star v. B. J. F.

                    Danny Elfman

                    Lugert, Oklahoma