Hi,

Imported tweets with hashtags return a blank page with the following error:

The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview

Checking the "Twitter #hashtag converter" box in the text format does not help.

Expecting a 7.x-5.9 version but maybe a patch could fix it until the new release.

Regards,

Gilles

CommentFileSizeAuthor
#8 Selection_002.png15.17 KBjuampynr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gillesbailleux’s picture

In the Twitter settings (admin/config/services/twitter/settings), the Twitter API is set to https://api.twitter.com which is no longer in use. I unsuccessfully tried https://api.twitter.com/1.1

yeebot’s picture

I'm not sure if this is a valid solution (or will cause issues elsewhere) but I found changing the Twitter Settings (admin/config/services/twitter/settings) for Twitter search to http://twitter.com seems to fix my #hashtag links for my tweets.

gillesbailleux’s picture

@yeebot: it works for me too. Thx!

hawasha’s picture

I found that in views where I have used the 'Twitter: Message text' field, I also needed to edit the field settings so that the URL under the 'Link Twitter #hashtags to another URL' checkbox is http://twitter.com/search?q=%23 (NOT http://search.twitter.com/search?q=%23 ).

As @yeebot, Im not sure if this is a "correct" solution, but it has solved the ugly API error issue in the short term.

joelpittet’s picture

#4 worked well for now, thanks @hawasha

samwillc’s picture

@hawasha, thanks, worked for me too.

avanvlack2’s picture

Issue summary: View changes

@hawasha Thanks! Still working.

juampynr’s picture

Status: Active » Closed (duplicate)
FileSize
15.17 KB

Duplicate of #2182945: Update Search to Twitter API v1.1.

The dev release of Twitter has fixes for hashtags already.

As for the Twitter settings, a fresh install has the following values which seem to work fine:

agilman’s picture

#8 worked for me. Thanks!