Hello, As soon as I saw the status this issue x changed to solved, I updated my code of twitter example and it's working!
So, I just think this page ( http://incubator.apache.org/s4/doc/0.6.0/twitter_trending_example/) needs updating. Who need help to obtain the OAuth, the page bellow can help. https://dev.twitter.com/docs/auth/tokens-devtwittercom Thanks!! 2013/9/2 Matthieu Morel <mmo...@apache.org> > This is correct, twitter has changed its authentication method and that > requires some code changes in S4. > > Added a new ticket: https://issues.apache.org/jira/browse/S4-138 > > If you have a patch don't hesitate to share. > > Thanks, > > Matthieu > > > On Aug 22, 2013, at 14:46 , Danilo Pinto da Silva <danilob...@gmail.com> > wrote: > > I appreciate the response Qinghao, but this change doesn't work. > > I think this problem occurs by change in the authentication method of > Twitter, because it's working with method named OAuth and this example > still uses the method Basic Auth. > > The link below contains the note: "Basic auth support was removed from > public streaming endpoints on June 11, 2013." > https://dev.twitter.com/docs/streaming-apis/connecting > > I think the code should be changed, I'll try. > Best Regards, > Danilo. > > > > 2013/8/21 Qinghao Dai <rogerda...@gmail.com> > >> The url string was: >> http://stream.twitter.com/1/statuses/sample.json<https://stream.twitter.com/1/statuses/sample.json>changed >> it to >> https://stream.twitter.com/1/statuses/sample.json >> can this url work? >> >> Best Regards, >> Qinghao >> >> >> 2013/8/19 Danilo Pinto da Silva <danilob...@gmail.com> >> >>> Hello, >>> >>> I'm begginer in S4 platform and I'm trying to execute the Twitter >>> trending example ( >>> http://incubator.apache.org/s4/doc/0.6.0/twitter_trending_example/). >>> >>> But when I try build and deploy twitter-adapter app, >>> I receive this error in the node for the adapter app: >>> >>> <h2>HTTP ERROR: 401</h2> >>> <p>Problem accessing '/1/statuses/sample.json'. Reason: >>> <pre> Unauthorized</pre> >>> >>> I looked in this link, of a similar error. >>> https://dev.twitter.com/discussions/18617 >>> I think it might be the authentication method. >>> >>> Can anyone help me? >>> Thanks. >>> >> >> > >