dinasaif / socialauth-android

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

Post to Facebook doesn't work (previously worked in early Feb 2013) #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Initial login successful (i.e. I sign into Facebook with username and 
password)
2. Share via dialog displays correctly
3. Facebook selection generates an exception

What is the expected output? What do you see instead?

04-09 03:33:50.985: W/System.err(957): 
org.brickred.socialauth.exception.SocialAuthException: 
java.io.FileNotFoundException: 
https://graph.facebook.com/oauth/access_token?client_id=

What version of the product are you using? On what operating system?
socialauth-4.0
socialauth-android-2.0 or socialauth-android-2.1
Windows 7
Eclipse ADT Build: v21.1.0-569685

Please provide any additional information below.

We were previously able to post to Facebook (but not Twitter) using 
socialauth-2.3

Original issue reported on code.google.com by rainium....@gmail.com on 9 Apr 2013 at 4:24

GoogleCodeExporter commented 8 years ago
Hi , We have checked facebook is working fine. please send me your code on 
vineet.aggarwal@3pillarglobal.com if u still facing issue

Original comment by vineet.a...@3pillarglobal.com on 11 Apr 2013 at 7:04

GoogleCodeExporter commented 8 years ago
Hi , you can please let us know your issue is resolved. 

Original comment by vineet.a...@3pillarglobal.com on 14 Apr 2013 at 5:27

GoogleCodeExporter commented 8 years ago
Hi , Please find a zip file with new jars to test. 

Facebook has done api changes and we are following it. Please note that its is 
not a final jar. After login , you will get a screen " you are already 
authorized" , then pressing ok , you will be connected.

Original comment by vineet.a...@3pillarglobal.com on 22 Apr 2013 at 5:10

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by vineet.a...@3pillarglobal.com on 22 Apr 2013 at 5:10

GoogleCodeExporter commented 8 years ago
Hi,
I have added jars and it solved the problem, but I am unable to include "+" 
sign in message.

Original comment by rogowski...@gmail.com on 22 Apr 2013 at 3:42

GoogleCodeExporter commented 8 years ago
Hi , Rogowski

please open a new thread for your issue.

Original comment by vineet.a...@3pillarglobal.com on 25 Apr 2013 at 9:24

GoogleCodeExporter commented 8 years ago
Hi,
    We have tried your new jars libraries.  Post to Twitter works
correctly.  Post to Facebook does not.  Facebook repeatedly says "You have
already authorized Application Name".  Here's my code that handles both.
Sorry about the lack of formatting.

*class* ResponseListener *implements* DialogListener {

@Override

*public* *void* onComplete(Bundle values) {

_providerName = values.getString(SocialAuthAdapter.*PROVIDER*);

*if*(_providerName != *null*) {

*try* {

*if*(_locationText == *null*) {

Toast.*makeText*(

_activity,

getString(R.string.*err_current_location_unknown*),

Toast.*LENGTH_LONG*).show();

}

*else* {

String messageBody = _locationText.getText().toString();

*if* (messageBody != *null*
* *

&& messageBody.trim().length() > 1) {

*if*(_providerName.equalsIgnoreCase(Provider.*TWITTER*.name())) {

*int* pos = messageBody.indexOf("LINK:");

*if*(pos > -1) messageBody = messageBody.substring(0, pos);

}

_saAdapter.updateStatus(messageBody);

Toast.*makeText*(

_activity,

getString(R.string.*caption_message_posted_on*) + " " + _providerName,

Toast.*LENGTH_LONG*).show();

} *else* {

Toast.*makeText*(

_activity,

getString(R.string.*err_current_location_unknown*),

Toast.*LENGTH_LONG*).show();

}

}

} *catch* (Exception ex) {

Toast.*makeText*(_activity,

getString(R.string.*err_posting_on*) + " " + _providerName,

Toast.*LENGTH_LONG*).show();

}

}

}

Original comment by rainium....@gmail.com on 11 May 2013 at 1:03

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

Apologies for late reply. Can you please share me your code at 
vineet.aggarwal@3pillarglobal.com

I am not able to understand due to bad formatting.

Original comment by vineet.a...@3pillarglobal.com on 22 May 2013 at 10:57

GoogleCodeExporter commented 8 years ago
Hi , we are looking to release next version in next 2 weeks. In case you have 
any issues , requests please let us know. We will try to incorporate them.

Original comment by vineet.a...@3pillarglobal.com on 22 May 2013 at 10:57

GoogleCodeExporter commented 8 years ago
@vineet please provide (share app option with your friends) 

Original comment by pradipsa...@gmail.com on 22 May 2013 at 12:45

GoogleCodeExporter commented 8 years ago
thanx in advance

Original comment by pradipsa...@gmail.com on 22 May 2013 at 12:45

GoogleCodeExporter commented 8 years ago
Hi , 

we have relased latest sdk with facebook , twitter fix. closing this issue.

Original comment by l...@3pillarglobal.com on 10 Jun 2013 at 3:30

GoogleCodeExporter commented 8 years ago
Yes, we have verified the Twitter and Facebook fix with your
socialauth-android-sdk-2.6.  Thank you very much.

Rainium Research

Original comment by rainium....@gmail.com on 20 Aug 2013 at 2:37