Solved

Twitter hashtag search in Wordpress with api v1.1

Posted on 2013-06-13
14
916 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
Industry Leaders: 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

739 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