Bad Authentication data error message in Java code

java
jboss

#1

i’m getting this error while authenticating {“errors”:[{“code”:215,“message”:“Bad Authentication data.”}]} please anyone can help me


#2

You’ll need to provide more information such as the endpoint you’re trying to use, language, setup etc.


#3

thanque for reply.
task is to upload video or an image to twitter for that i need to authenticate.
while authenticating only I’m failing can you suggess me bast way and sample.
https://api.twitter.com/oauth/authorize,
language:java,
jboss 6.2.

thanks in advance


#4

There’s sample code in Java in the Twitter4J open source project, for example.