dinasaif / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Message not posted on twitter and facebook #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to update(share deals) status of user on facebook and twitter
when I share with facebook/twitter first time,It successfully updated but when 
I try agian get message not posted with error java.lang:null pointer exception. 

What is the expected output? What do you see instead?
message should be posted.

What version of the product are you using? On what operating system?
SDK Version 2.5

Please provide any additional information below.
please find the attached logcat

Original issue reported on code.google.com by ravi.ku...@finoit.co.in on 24 Jun 2013 at 5:44

Attachments:

GoogleCodeExporter commented 8 years ago
Hi ,

Are you posting the same message twice. Facebook and twitter not allow posting 
same message twice.

if not please check the status code in MessageListener.

Original comment by vineet.a...@3pillarglobal.com on 24 Jun 2013 at 5:47

GoogleCodeExporter commented 8 years ago
No 

we are using different url in update status;

and status code is 200; 

Original comment by ravi.ku...@finoit.co.in on 24 Jun 2013 at 6:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
06-24 15:27:51.221: I/System.out(28498): screen_name, ChiragTestAcc
06-24 15:27:51.221: I/System.out(28498): user_id, 988764337
06-24 15:27:51.241: D/ShareButton(28498): Authentication Successful
06-24 15:27:51.241: D/ShareButton(28498): Provider Name = twitter
06-24 15:27:51.241: D/SocialAuthError(28498): java.lang.NullPointerException
06-24 15:27:51.251: D/ShareButton(28498): Authentication Error: Message Not 
Posted
06-24 15:27:51.251: D/SocialAuthAdapter(28498): Disconnecting Provider

please help to resolve this problem.

Original comment by ravi.ku...@finoit.co.in on 24 Jun 2013 at 10:00

GoogleCodeExporter commented 8 years ago
If you are getting status code as 200 then that means ur message is posted else 
u should have get another status code.

do one thing try to post "socialauth + system.currentimeMillis()". please clear 
your settings and authenticate again. 

Original comment by vineet.a...@3pillarglobal.com on 24 Jun 2013 at 10:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
now I am getting 400 and 403  status code,With
error message:Message not posted 

Original comment by ravi.ku...@finoit.co.in on 24 Jun 2013 at 11:48

Attachments:

GoogleCodeExporter commented 8 years ago
hi please let me know results with message "socialauth + 
system.currentimeMillis()".

in logs still i can the url only.

Original comment by vineet.a...@3pillarglobal.com on 24 Jun 2013 at 12:08

GoogleCodeExporter commented 8 years ago
Same problem I got when using message "socialauth + 
system.currentimeMillis()".instead of url. 

please find attached logcat 

Original comment by ravi.ku...@finoit.co.in on 24 Jun 2013 at 12:39

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

I checked your code.

In twitter you need to use your own callback method because you are using your 
keys.
In facebook, i can't see your keys in oauth_consumer file.

Original comment by l...@3pillarglobal.com on 27 Jun 2013 at 9:34

GoogleCodeExporter commented 8 years ago
please reopen the issue in case problem not solved. 

Original comment by l...@3pillarglobal.com on 29 Jun 2013 at 8:25