File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 541
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: 9990
    
    7

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: 541
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: 19543
    
  16

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
Rancher

Joined: Mar 28, 2008
Posts: 526
    
  23

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: 541
thank you. I will do the changes for changed API access
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: API using http://search.twitter.com/search.json?q=kword has stopped working nowdays
 
Similar Threads
network simulator for java program...
Does the usage of static prevents us from OO
integrate mail server to J2ee application
Using Java to Login to an HTTPS Website (Yahoo)
i have a flex component and i want to write simple helloworld in that using java API's