Solved

Twitter hashtag search in Wordpress with api v1.1

Posted on 2013-06-13
14
923 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
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 set up the permalinks on a WordPress Website. 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 : Go t…

623 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