Solved

Twitter hashtag search in Wordpress with api v1.1

Posted on 2013-06-13
14
840 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What's this? As a volunteer Page Editor for Experts-Exchange.com, I have noticed that many authors also have blogs, and pull articles from their blogs to post at Experts-Exchange. I appreciate each author sharing their blog content with our site …
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now