Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#8 | Selection_002.png | 15.17 KB | juampynr |
Comments
Comment #1
gillesbailleuxIn 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
Comment #2
yeebot CreditAttribution: yeebot commentedI'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.
Comment #3
gillesbailleux@yeebot: it works for me too. Thx!
Comment #4
hawasha CreditAttribution: hawasha commentedI 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.
Comment #5
joelpittet#4 worked well for now, thanks @hawasha
Comment #6
samwillc CreditAttribution: samwillc commented@hawasha, thanks, worked for me too.
Comment #7
avanvlack2 CreditAttribution: avanvlack2 commented@hawasha Thanks! Still working.
Comment #8
juampynr CreditAttribution: juampynr commentedDuplicate 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:
Comment #9
agilman CreditAttribution: agilman commented#8 worked for me. Thanks!