Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Twitter hashtag search in Wordpress with api v1.1

Posted on 2013-06-13
14
Medium Priority
?
941 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article explores several main social media platforms.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
Suggested Courses

772 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