{"action":"created","issue":{"url":"https://api.github.com/repos/geoffjentry/twitteR/issues/74","labels_url":"https://api.github.com/repos/geoffjentry/twitteR/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/geoffjentry/twitteR/issues/74/comments","events_url":"https://api.github.com/repos/geoffjentry/twitteR/issues/74/events","html_url":"https://github.com/geoffjentry/twitteR/issues/74","id":53320395,"number":74,"title":"Error in check_twitter_oauth() : OAuth authentication error:","user":{"login":"nurandi","id":6623685,"avatar_url":"https://avatars.githubusercontent.com/u/6623685?v=3","gravatar_id":"","url":"https://api.github.com/users/nurandi","html_url":"https://github.com/nurandi","followers_url":"https://api.github.com/users/nurandi/followers","following_url":"https://api.github.com/users/nurandi/following{/other_user}","gists_url":"https://api.github.com/users/nurandi/gists{/gist_id}","starred_url":"https://api.github.com/users/nurandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurandi/subscriptions","organizations_url":"https://api.github.com/users/nurandi/orgs","repos_url":"https://api.github.com/users/nurandi/repos","events_url":"https://api.github.com/users/nurandi/events{/privacy}","received_events_url":"https://api.github.com/users/nurandi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-04T00:46:03Z","updated_at":"2015-02-02T11:20:56Z","closed_at":null,"body":"Last month, I wrote R script for search twitter using twitteR package. That script worked fine.\r\nToday, I execute the script again but get an error in `check_twitter_oauth().`\r\n\r\n`[1] \"Using direct authentication\"`\r\n`Error in check_twitter_oauth() : OAuth authentication error:`\r\n`This most likely means that you have incorrectly called setup_twitter_oauth()'`\r\n\r\nFollowing this link https://github.com/geoffjentry/twitteR/issues/67 , I update `httr` package to the latest version (from CRAN). But, my problem can't be resolved.\r\n\r\nThis is info about my R session (after updated `httr`):\r\n`R version 3.1.2 (2014-10-31)`\r\n`Platform: x86_64-w64-mingw32/x64 (64-bit)`\r\n\r\n`locale:`\r\n`[1] LC_COLLATE=English_United States.1252 `\r\n`[2] LC_CTYPE=English_United States.1252`\r\n\r\n`[3] LC_MONETARY=English_United States.1252`\r\n`[4] LC_NUMERIC=C`\r\n\r\n`[5] LC_TIME=English_United States.1252`\r\n\r\n`attached base packages:`\r\n`[1] stats graphics grDevices utils datasets methods base`\r\n\r\n`other attached packages:`\r\n`[1] twitteR_1.1.8`\r\n\r\n`loaded via a namespace (and not attached):`\r\n`[1] bit_1.1-12 bit64_0.9-4 bitops_1.0-6 DBI_0.3.1`\r\n\r\n`[5] digest_0.6.4 httr_0.6.1 R6_2.0.1 RCurl_1.95-4.5`\r\n`[9] rjson_0.2.15 stringr_0.6.2 tools_3.1.2`\r\n\r\nThank you for any advises :)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/geoffjentry/twitteR/issues/comments/72441461","html_url":"https://github.com/geoffjentry/twitteR/issues/74#issuecomment-72441461","issue_url":"https://api.github.com/repos/geoffjentry/twitteR/issues/74","id":72441461,"user":{"login":"nurandi","id":6623685,"avatar_url":"https://avatars.githubusercontent.com/u/6623685?v=3","gravatar_id":"","url":"https://api.github.com/users/nurandi","html_url":"https://github.com/nurandi","followers_url":"https://api.github.com/users/nurandi/followers","following_url":"https://api.github.com/users/nurandi/following{/other_user}","gists_url":"https://api.github.com/users/nurandi/gists{/gist_id}","starred_url":"https://api.github.com/users/nurandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurandi/subscriptions","organizations_url":"https://api.github.com/users/nurandi/orgs","repos_url":"https://api.github.com/users/nurandi/repos","events_url":"https://api.github.com/users/nurandi/events{/privacy}","received_events_url":"https://api.github.com/users/nurandi/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T11:20:56Z","updated_at":"2015-02-02T11:20:56Z","body":"Sure, here is my code. It works. Please supply your api and token.\r\n```\r\nlibrary(twitteR)\r\n\r\nsetup_twitter_oauth(api_key, api_secret, access_token, access_token_secret)\r\n\r\ntw.bogor = searchTwitter(\"bogor\", n=500)\r\n```\r\n\r\nSession Info:\r\n```\r\nR version 3.1.2 (2014-10-31)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\n\r\nlocale:\r\n[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   \r\n[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          \r\n[5] LC_TIME=English_United States.1252    \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] twitteR_1.1.8\r\n\r\nloaded via a namespace (and not attached):\r\n[1] bit_1.1-12    bit64_0.9-4   DBI_0.3.1     httr_0.6.1    rjson_0.2.15  stringr_0.6.2\r\n[7] tools_3.1.2  \r\n```"}}