Questions tagged [twitter-oauth]

Twitter implementation of oauth

Oauth - is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications.

See also:

2753 questions
23
votes
4 answers

Retrieving Twitter OAuth Token using Social Framework (iOS6)

I'm a little confused as to how I get the Twitter OAuth Token using the iOS Social Framework. Assuming I have a Facebook and Twitter account setup on iOS6, and I can get the ACAccount. When I check the ACAccountCredential for the Facebook ACAccount…
Click Ahead
  • 2,782
  • 6
  • 35
  • 60
21
votes
2 answers

Dynamic timeline selection for embedded timelines - Hashtag Timeline

I've followed the guide here to add multiple widgets using the same widget id and this works perfectly fine for User timeline. Snippet ----
Vivek Sampara
  • 447
  • 4
  • 20
18
votes
3 answers

How to Migrate Twitter API from v1 to v1.1?

till now i was using twitter api v1,but my application suddenly stopped twitting,it shows me login failed every time i try to login,when i show response it gives me msg like {"errors": [{"message": "The Twitter REST API v1 is no longer active.…
Aamirkhan
  • 5,746
  • 10
  • 47
  • 74
18
votes
3 answers

Why is my twitter oauth access token invalid / expired

I am using Twitter to log users into to a website, which seems to be working up until I attempt to obtain a valid Access Token. require("twitteroauth.php"); require 'twconfig.php'; session_start(); $twitteroauth = new…
Finglish
  • 9,692
  • 14
  • 70
  • 114
17
votes
4 answers

Twitter api version 2 throws Client Forbidden error

When I try to query recent search endpoint of twitter /2/tweets/search/recent it throws an exception { "client_id": "xxxxx", "required_enrollment": "Standard Basic", "detail": "When authenticating requests to the Twitter API v2…
user4206843
17
votes
5 answers

Android Twitter integration using oauth and twitter4j

I want to integrate twitter in an android application and found many tutorials. Implemented 2 of them. But after implementing, when ran the application, I came to know that they use older version of twitter4J library. Although plenty other tutorials…
Geek
  • 8,280
  • 17
  • 73
  • 137
17
votes
3 answers

SSL certificate failed for twitteR in R

I know similar questions have been asked again. However, I've tried everything I found here and on google and nothing seems to work for me. My code is the following: reqURL <- "http://api.twitter.com/oauth/request_token" accessURL <-…
Stergios
  • 3,126
  • 6
  • 33
  • 55
16
votes
2 answers

Spring Security oauth2 client - problem with Twitter

I want to add Twitter oAuth2 to my application. Earlier I added Facebook and google with success - I didn't have to add provider. When i try to add twitter data to application.properties file and run server i get error: Error starting Tomcat…
16
votes
11 answers

TwitteR setup_twitter_oauth() failing

I was following the vignette for the package, updated and loaded all necessary packages, seemed like it would be a pretty straight-forward process to authenticate. Instead, I get an error > setup_twitter_oauth(consumer_key, consumer_secret,…
Tyler Beason
  • 193
  • 1
  • 2
  • 9
15
votes
10 answers

TwitteR, ROAuth and Windows: register OK, but certificate verify failed

I'm trying to get the number of followers of a large number of Twitter users with twitteR. Many of the other questions posted have been very useful in getting me this far, but none seem to be directly relevant to my problem, so far as I can see. I…
Ben
  • 41,615
  • 18
  • 132
  • 227
15
votes
6 answers

OAuth::Unauthorized 401 int twitter-omniauth gem

I have been trying to authenticate users using twitter-omniauth gem for last days, yet not successful. (Authentication with facebook works perfectly) I'm keep getting 401 Unauthorized error. I search through stackoverflow, but none of the answers…
robert
  • 8,459
  • 9
  • 45
  • 70
15
votes
3 answers

Why should you base64 encode the Authorization header?

Twitter's API requires sending an Authorization header that is a base64 encoding of an API key concatenated with an API secret key. In Node, I use: var base64 = new Buffer(apiKey + ':' + apiSecret).toString('base64'); The header sent…
Animal Rights
  • 9,107
  • 6
  • 28
  • 40
14
votes
2 answers

OAuth callbacks in iPhone web apps

I'm building a full-screen iPhone optimized web app. It gets launched from the homepage like a native app and behaves like a standalone app via the following directive, but it's just plain HTML/CSS/JavaScript, no PhoneGap involved.
14
votes
6 answers

Twitter4J + Android: Authentication Challenge is Null Exception

I'm using Twitter4J library for OAuth authentication but I get "Authentication Challenge is Null Exception" even before It opens the Twitter login page. Here is the code. Twitter twitter = new TwitterFactory().getInstance(); try { …
Sharjeel
  • 15,588
  • 14
  • 58
  • 89
14
votes
4 answers

nodejs/passport - Error: OAuthStrategy requires session support

I am trying to set up a twitter connect on my web app using the passport module I have implemented it as follow: App.js file: /** * Module dependencies. */ var express = require('express'); var user =…
Spearfisher
  • 8,445
  • 19
  • 70
  • 124