Closed GoogleCodeExporter closed 9 years ago
Hi have you defined your callback using addCallback. For Foursquare you need to
define callback.
also report the stack trace
Original comment by vineet.a...@3pillarglobal.com
on 25 Mar 2013 at 1:32
Hi,
Yes i defined my callback adapter.addCallBack(Provider.FOURSQUARE,
"http://grupotecopy.es"); This url must only be valid or is needed something
else?
There´s not any error but the stack is:
03-25 14:46:03.816: D/SocialAuthAdapter(1425): Selected provider is foursquare
03-25 14:46:03.816: D/SocialAuthAdapter(1425): Loading keys and secrets from
configuration
03-25 14:46:03.846: I/dalvikvm(1425): Could not find method
java.lang.String.isEmpty, referenced from method
org.brickred.socialauth.SocialAuthConfig.setProxy
03-25 14:46:03.846: W/dalvikvm(1425): VFY: unable to resolve virtual method
1754: Ljava/lang/String;.isEmpty ()Z
03-25 14:46:03.846: D/dalvikvm(1425): VFY: replacing opcode 0x6e at 0x0030
03-25 14:46:03.856: D/dalvikvm(1425): VFY: dead code 0x0033-0045 in
Lorg/brickred/socialauth/SocialAuthConfig;.setProxy ()V
03-25 14:46:03.856: D/dalvikvm(1425): VFY: dead code 0x0047-004f in
Lorg/brickred/socialauth/SocialAuthConfig;.setProxy ()V
03-25 14:46:03.866: I/dalvikvm(1425): Could not find method
java.lang.String.isEmpty, referenced from method
org.brickred.socialauth.SocialAuthConfig.load
03-25 14:46:03.866: W/dalvikvm(1425): VFY: unable to resolve virtual method
1754: Ljava/lang/String;.isEmpty ()Z
03-25 14:46:03.866: D/dalvikvm(1425): VFY: replacing opcode 0x6e at 0x0047
03-25 14:46:03.866: D/dalvikvm(1425): VFY: dead code 0x004a-0054 in
Lorg/brickred/socialauth/SocialAuthConfig;.load (Ljava/util/Properties;)V
03-25 14:46:03.866: D/dalvikvm(1425): VFY: dead code 0x0059-0061 in
Lorg/brickred/socialauth/SocialAuthConfig;.load (Ljava/util/Properties;)V
03-25 14:46:03.908: I/SocialAuthConfig(1425): Loading application configuration
03-25 14:46:03.926: D/SocialAuthAdapter(1425): Starting webview for
authentication
03-25 14:46:04.026: I/dalvikvm(1425): Could not find method
java.lang.String.isEmpty, referenced from method
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse
03-25 14:46:04.046: W/dalvikvm(1425): VFY: unable to resolve virtual method
1754: Ljava/lang/String;.isEmpty ()Z
03-25 14:46:04.046: D/dalvikvm(1425): VFY: replacing opcode 0x74 at 0x0220
03-25 14:46:04.066: D/dalvikvm(1425): VFY: dead code 0x0223-0229 in
Lorg/brickred/socialauth/oauthstrategy/OAuth2;.verifyResponse
(Ljava/util/Map;Ljava/lang/String;)Lorg/brickred/socialauth/util/AccessGrant;
03-25 14:46:04.096: I/FourSquareImpl(1425): Loading plugins
03-25 14:46:04.096: I/OAuth2(1425): Determining URL for redirection
03-25 14:46:04.136: I/OAuth2(1425): Redirection to following URL should happen
:
https://foursquare.com/oauth2/authenticate?client_id=WCGBNSSNR0ITEUZ5K54IJAWRUTQ
FI1QP1GQTBBPY0J3ETRPW&response_type=code&redirect_uri=http%3A%2F%2Fgrupotecopy.e
s
03-25 14:46:04.136: D/SocialAuthAdapter(1425): Loading URL :
https://foursquare.com/oauth2/authenticate?client_id=WCGBNSSNR0ITEUZ5K54IJAWRUTQ
FI1QP1GQTBBPY0J3ETRPW&response_type=code&redirect_uri=http%3A%2F%2Fgrupotecopy.e
s&type=user_agent&display=touch
03-25 14:46:04.136: D/SocialAuthAdapter(1425): Callback URI :
http://grupotecopy.es
03-25 14:46:04.136: D/Resolution X(1425): 320
03-25 14:46:04.136: D/Resolution Y(1425): 480
03-25 14:46:04.136: D/screeninch(1425): 4
03-25 14:46:04.136: D/dapi(1425): 160
03-25 14:46:04.536: D/SocialAuth-WebView(1425):
onPageStart:https://foursquare.com/oauth2/authenticate?client_id=WCGBNSSNR0ITEUZ
5K54IJAWRUTQFI1QP1GQTBBPY0J3ETRPW&response_type=code&redirect_uri=http%3A%2F%2Fg
rupotecopy.es&type=user_agent&display=touch
03-25 14:46:05.435: D/dalvikvm(1425): GC_FOR_MALLOC freed 4012 objects / 269288
bytes in 59ms
03-25 14:46:05.758: D/SocialAuth-WebView(1425):
onPageStart:https://es.foursquare.com/oauth2/authenticate?client_id=WCGBNSSNR0IT
EUZ5K54IJAWRUTQFI1QP1GQTBBPY0J3ETRPW&response_type=code&redirect_uri=http%3A%2F%
2Fgrupotecopy.es&type=user_agent&display=touch
03-25 14:46:05.758: D/SocialAuth-WebView(1425): Override url:
https://es.foursquare.com/oauth2/authenticate?client_id=WCGBNSSNR0ITEUZ5K54IJAWR
UTQFI1QP1GQTBBPY0J3ETRPW&response_type=code&redirect_uri=http%3A%2F%2Fgrupotecop
y.es&type=user_agent&display=touch
03-25 14:46:06.425: D/dalvikvm(1425): GC_FOR_MALLOC freed 5644 objects / 348192
bytes in 49ms
Original comment by marcher....@gmail.com
on 25 Mar 2013 at 1:47
Need to check it at my side. Can you please send me your foursqaure keys and
secret at vineet.aggarwal@3pillarglobal.com.
I will let you know in next 24 hrs.
Original comment by vineetmo...@gmail.com
on 25 Mar 2013 at 1:59
Closing this Issue , as the user not send keys to test.
Please send keys at vineet.aggarwal@3pillaglobal.com , if the issue not solves
Original comment by vineet.a...@3pillarglobal.com
on 2 Apr 2013 at 5:11
When i am trying to log in into foursquare it shows the followings
Connecting failed
This app has a configuration problem and was unable to connect to your
Foursquare account.
Cause of error: Callback uri is not valid for this consumer
Original comment by maill2ra...@gmail.com
on 4 Feb 2014 at 12:46
use addcallback method check examples for use. enter the callback enter in
foursquare account in addcallback methods
Original comment by vineet.a...@3pillarglobal.com
on 4 Feb 2014 at 12:48
I have the same problem, in the app configuration I have https://localhost:8080
as Redirect URL. where should I addCallback method?
Original comment by wearyba...@gmail.com
on 16 Apr 2014 at 9:02
Original issue reported on code.google.com by
marcher....@gmail.com
on 25 Mar 2013 at 1:20