We seem to be equally stymied with oAuth and API v1.1.
Our site used to pull tweets with Twitter Pull, but recently stopped doing so and wont show anything more current than late June. We had previously updated to twitter_pull-7.x-1.0-rc5, which worked for a while; we understand that we need a version that uses oAuth, and want to comply, but this has been nothing but trouble. Were doing this on a staging site, in hopes I can get it working and then replicate it on the live site.
I updated to the latest versions of Drupal’s modules for:
Twitter Pull
Twitter
oAuth
I successfully registered the app at dev.twitter.com/apps/new. I have copied (and re-copied, and corrected MANY times) the callback URL and secret keys, and generated the required tokens
But I every time I try to add an authenticated Twitter account to our site, it circles back to the following error message: “Could not obtain a valid token from the Twitter API. Please review the configuration.” But, where or how to get the correct token is a mystery.
I’ve followed all the steps at: https://drupal.org/node/1346824, including ensuring the callback URL is correct, and making sure the OpenSSL extension is enabled in PHP by adding: “extension=openssl.so”.
But that didn’t fix the problem; the most current error message in the Drupal logs is as follows:
exception ‘TwitterException’ with message ‘Gone’ in /home/site/public_html/sites/all/modules/contrib/twitter/twitter.lib.php:151 Stack trace: #0 /home/site/public_html/sites/all/modules/contrib/twitter/twitter.lib.php(114): Twitter->request(‘https://api.twi…’) #1 /home/site/public_html/sites/all/modules/contrib/twitter/twitter.lib.php(51): Twitter->auth_request(‘https://api.twi…’, Array) #2 /home/site/public_html/sites/all/modules/contrib/twitter/twitter.pages.inc(339): Twitter->get_request_token() #3 /home/site/public_html/includes/form.inc(1464): twitter_auth_account_form_submit(Array, Array) #4 /home/site/public_html/includes/form.inc(860): form_execute_handlers(‘submit’, Array, Array) #5 /home/site/public_html/includes/form.inc(374): drupal_process_form(‘twitter_auth_ac…’, Array, Array) #6 /home/site/public_html/includes/form.inc(131): drupal_build_form(‘twitter_auth_ac…’, Array) #7 /home/site/public_html/sites/all/modules/contrib/twitter/twitter.pages.inc(133): drupal_get_form(‘twitter_auth_ac…’) #8 [internal function]: twitter_user_settings() #9 /home/site/public_html/includes/menu.inc(517): call_user_func_array(‘twitter_user_se…’, Array) #10 /home/site/public_html/index.php(21): menu_execute_active_handler() #11 {main}
That doesn’t make sense, because the same Twitter feeds continue to exist: we’re logging in and updating it, so that “resource” continues to exist- this “410” error shouldn’t apply?
Anyone run into this before?