wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes API using http://search.twitter.com/search.json?q=kword has stopped working nowdays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "API using http://search.twitter.com/search.json?q=kword has stopped working nowdays" Watch "API using http://search.twitter.com/search.json?q=kword has stopped working nowdays" New topic
Author

API using http://search.twitter.com/search.json?q=kword has stopped working nowdays

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
Is there any simple java API http://search.twitter.com/search.json?q=keyword like using which we can get posts from social networking websites for a particular keyword.I was doing this for my sample application using this URL l but it has stopped working now days. Is there any similar api for which we can create java REST client easily for networking sites (like twitter,Facebook, or any).

Thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

If you open the URL you provided in a browser, you get
{"errors": [{"message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}

Did you check out v1.1?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
I tried url

It gave error message {"errors":[{"message":"Bad Authentication data","code":215}]}
\

All I want is some posts from networking website like FB twitter e tc for my Sample application.Thats all.
thansk
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Why not use a library like Twitter4J?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Cooke
Bartender

Joined: Mar 28, 2008
Posts: 859
    
  42

As I understand it Twitter revoked anonymous public access to their API's because they were getting hammered with every Tom, Dick, and Harry using it for demo applications. You can still access the API but I think you need to provide your login details now or register for it or something.

Never used Twitter4J so can't comment on that.


Tim Driven Development
Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
thank you. I will do the changes for changed API access
 
jQuery in Action, 2nd edition
 
subject: API using http://search.twitter.com/search.json?q=kword has stopped working nowdays
 
Similar Threads
i have a flex component and i want to write simple helloworld in that using java API's
Using Java to Login to an HTTPS Website (Yahoo)
integrate mail server to J2ee application
Does the usage of static prevents us from OO
network simulator for java program...