Solved

Twitter hashtag search in Wordpress with api v1.1

Posted on 2013-06-13
14
909 Views
Last Modified: 2013-06-18
I have a WordPress hashtag plugin that stopped working when Twitter switched from api 1 to api 1.1.  I can't find a plugin that works with v1.1 that doesn't require a consumer key, etc.  All I need to do is pull tweets into my Wordpress blog based on a public hashtag.

Anyone know of a Twitter hashtag plugin for Wordpress that doesn't require a consumer key.  If not can someone tell me how to get a consumer key?

Thanks,

Steve
0
Comment
Question by:stkoontz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39244932
The problem with this is that Twitter no longer allows scrape-style search/embeds.  You have create an API key or create an official timeline widget on Twitter and embed that in your site.
0
 
LVL 2

Author Comment

by:stkoontz
ID: 39244987
Thanks for the quick reply.  Can you help me with how?  This is all new to me.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39245009
Which method?  You can go for the API key or the timeline widget.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:stkoontz
ID: 39245025
I'm not familiar with either.  Which do you think is easier?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39245047
They're both easy...the bigger issue is which plugin do you want to use for WordPress.   Some want the API key and others want the twitter widget ID code.
0
 
LVL 2

Author Comment

by:stkoontz
ID: 39245299
Let's go with the widget ID code.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39249562
1) Go to your Twitter account
2) Click the Gear icon to access settings
3) Click Widgets on the left
4) Click Create New on the right
5) Select Search from the tabs on the top
6) Enter the desired hashtag, set other options, hit Create Widget at the bottom

You'll get a code window after doing the above.  The first part of the code will be an <a> tag and one of the attributes will be data-widget-id="somereallylongnumber"

The really long number is the Widget ID you then transfer to the target WordPress widget.
0
 
LVL 2

Author Comment

by:stkoontz
ID: 39257585
I successfully created the feed by copying the code into a standard HTML page.  Do you have a suggested WordPress plugin to use?  I tried "Really Simple Twitter" and it's asking me for "consumer secret" "access token" etc.

Thanks,

Steve
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39257597
Jetpack has a Twitter widget that works well with the Twitter Widget ID.  

If you prefer using one that asks for the consumer secret and access token codes, you follow the same steps 1 and 2 above but then click Apps on the side and follow the instructions from there to generate the API keys.
0
 
LVL 2

Author Comment

by:stkoontz
ID: 39257638
I found and installed the Jetpack plugin, but don't see the Twitter widget or a Jetpack twitter plugin.  Can you get me the exact name of the widget or a link?

If the Jetpack widget works with just the Twitter Widget ID, then I'd rather use that then the complexity of the consumer secret, etc.

Thanks for sticking with me on this.

Steve
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39257641
but don't see the Twitter widget

Twitter Timeline (Jetpack) in your widget list.
0
 
LVL 2

Author Comment

by:stkoontz
ID: 39257650
I don't see it.  Do I need to sign up for the Wordpress.com account to see it?

Steve
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39257671
Yes, you need to create and connect to a WordPress.com account before Jetpack works.
0
 
LVL 2

Author Closing Comment

by:stkoontz
ID: 39257725
Jetpack did the trick.  There's a lot of other features in Jetpack I'll take a look at.  Thanks for the help.  I very much appreciate it.

Steve
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Query return divisible by 3 3 34
Wordpress Security 29 73
Are images uploaded to Yelp in the public domain? 2 70
Easy css question moving title underneath an image 4 28
Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question