Giter Site home page Giter Site logo

socialauth-android's People

socialauth-android's Issues

fix back compatibility issue for android 2.2 and pre

i found the problem was in ssl in socialauth-core so if we replaced the code in 
HttpUtil 
static {
        SSLContext ctx;
try
{
ctx = SSLContext.getInstance("TLS");
            ctx.init(new KeyManager[0],
                    new TrustManager[] { new DefaultTrustManager() },
                    new SecureRandom());
            SSLContext.setDefault(ctx);
        }
        catch (Exception ex) {

            ex.printStackTrace();
        }
    }
with this code it will work on any android
static {
        SSLContext ctx;
        try {
            if (Build.VERSION.SDK_INT <10)
                {
                ctx = SSLContext.getInstance("TLS");
                ctx.init(null, new TrustManager[] {
                  new X509TrustManager() {
                    public void checkClientTrusted(X509Certificate[] chain, String authType) {}
                    public void checkServerTrusted(X509Certificate[] chain, String authType) {}
                    public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[]{}; }
                  }
                }, null);
                HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
                HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {

                    @Override
                    public boolean verify(String arg0, SSLSession arg1) {
                        // TODO Auto-generated method stub
                        return true;
                    }

                    });
                }else{
            ctx = SSLContext.getInstance("TLS");
            ctx.init(new KeyManager[0],
                    new TrustManager[] { new DefaultTrustManager() },
                    new SecureRandom());
            SSLContext.setDefault(ctx);
                }
        }
        catch (Exception ex) {

            ex.printStackTrace();
        }
    }

Original issue reported on code.google.com by [email protected] on 4 Mar 2013 at 1:10

FATAL EXCEPTION

12-27 10:27:56.514: E/AndroidRuntime(24617): FATAL EXCEPTION: Thread-48
12-27 10:27:56.514: E/AndroidRuntime(24617): 
java.lang.ExceptionInInitializerError
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:139)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:101)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java
:180)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:1
70)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:201)
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
java.lang.Thread.run(Thread.java:1096)
12-27 10:27:56.514: E/AndroidRuntime(24617): Caused by: 
java.lang.NoSuchMethodError: javax.net.ssl.SSLContext.setDefault
12-27 10:27:56.514: E/AndroidRuntime(24617):    at 
org.brickred.socialauth.util.HttpUtil.<clinit>(HttpUtil.java:79)
12-27 10:27:56.514: E/AndroidRuntime(24617):    ... 7 more



Original issue reported on code.google.com by djahmednawaz on 27 Dec 2012 at 10:28

Share image and text on Linkedin profile

Greetings,

I've used your project and learn a lot from it. Thanks for sharing a zipped 
library for all social networks. 

I want to ask about image sharing on Linkedin profile. Google on the same issue 
but didn't find any that could help me.

Need your guidance and suggestions.

Thanks!

Original issue reported on code.google.com by [email protected] on 14 Mar 2013 at 3:31

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

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 [email protected] on 9 Apr 2013 at 4:24

the examples like Share button, Share bar and custom UI can not share to twitter

What steps will reproduce the problem?
1.run the examples,all of them are can not share to twitter 
2.the logcat display: org.brickred.socialauth.exception.SocialAuthException: 
java.net.SocketTimeoutException: Connection timed out


What version of the product are you using? On what operating system?
2.0

Please provide any additional information below.
I haven't found the method to solve it

Original issue reported on code.google.com by [email protected] on 3 Apr 2013 at 9:33

Attachments:

Facebook login Error

What steps will reproduce the problem?
1.When I try share a text on facebook, through the facebook log-in page.It 
shows the error; "You are not logged in.Please log in and try again."... It 
does not show the log-in page. 
2.
3.

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

For first time user: First of all, it should direct the user to the login page. 
Allow them to enter the email id and password, grab them, authorize the login 
and finally share the content on facebook wall.

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

socialauth-2.3

Please provide any additional information below.

 Apart from the direct approach, I logged into facebook using the "back to the previous page" option.... which directed me to the login page...i loggned into the account and successfully posted my contents.
Device used (sony Ericson Xperia... android 2.3.3) 

Original issue reported on code.google.com by [email protected] on 8 Feb 2013 at 11:21

avoid already-authorized

What steps will reproduce the problem?
1.
2.
3.

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


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


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Apr 2013 at 11:43

app key for twitter error

What steps will reproduce the problem?
1. facebook is fine good
2. after using twitter
3. application key is incorrect same thing happen in linked

failed to submit,
heres error:
i check my key many times but same error, anyone can help me?

tnx in advance

Original issue reported on code.google.com by [email protected] on 20 Jul 2012 at 1:16

API Level Issue

Hello Sir,

I had tested this demo suite in emulator.
in emulator this suite working fine in android 2.3 and greater but its not 
working in android 2.2 so please suggest me if i made any mistake.

i m also posting error log also bellow.
--------------------------------------------------------------------
10-02 12:34:33.033: E/AndroidRuntime(272): FATAL EXCEPTION: Thread-9
10-02 12:34:33.033: E/AndroidRuntime(272): java.lang.ExceptionInInitializerError
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.util.OAuthConsumer.getHMACSHA1(OAuthConsumer.java:120)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.util.OAuthConsumer.generateSignature(OAuthConsumer.java:
97)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.util.OAuthConsumer.getRequestToken(OAuthConsumer.java:17
2)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.oauthstrategy.OAuth1.getLoginRedirectURL(OAuth1.java:68)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.provider.TwitterImpl.getLoginRedirectURL(TwitterImpl.jav
a:131)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.SocialAuthManager.getAuthURL(SocialAuthManager.java:161)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.SocialAuthManager.getAuthenticationUrl(SocialAuthManager
.java:115)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.android.SocialAuthAdapter$3.run(SocialAuthAdapter.java:3
61)
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
java.lang.Thread.run(Thread.java:1096)
10-02 12:34:33.033: E/AndroidRuntime(272): Caused by: 
java.lang.NoSuchMethodError: javax.net.ssl.SSLContext.setDefault
10-02 12:34:33.033: E/AndroidRuntime(272):  at 
org.brickred.socialauth.util.HttpUtil.<clinit>(HttpUtil.java:79)
-------------------------------------------------------------------- 
 Thanks.


Original issue reported on code.google.com by [email protected] on 2 Oct 2012 at 7:15

Twitter uploadImage doesn't work

I am trying to uploading image via adapter.uploadImage(message, 
"logo.png",bitmap, 100); but not able to do that. getting error message in 
logcat as :

12-10 23:50:26.713: I/TwitterImpl(390): Upload Image status::403
12-10 23:50:26.713: D/SocialAuthAdapter(390): Image Uploaded

What to do to upload image on Twitter.

Thanks.

Original issue reported on code.google.com by [email protected] on 10 Dec 2012 at 6:24

authentication error

What steps will reproduce the problem?
Followed the steps given in tutorial to get keys and secrets.
first time when i log in with facebook and twitter it works fine but when i 
again try to post after first login it says "provider is already connected" and 
does not update status.

What is the expected output? What do you see instead?
status not updated gives authentication error.

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


Please provide any additional information below.
and please notify when you update your sdk with new linkedin api fixes.


Original issue reported on code.google.com by [email protected] on 17 Jan 2013 at 6:24

Attachments:

Not able to import the codes

hi, i have downloaded ur code from svn, to use twitter functionality, but in 
the downloaded code there are the option of Docs, ExternalDependies, and Witty, 
i'm not able to import this, can u help me?

Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 5:41

Cant post to LinkedIN

What steps will reproduce the problem?
Follow the same steps as in tutorial,get the keys and secret. But it gives 
error in posting the status message on LinkedIn as no file found Exception.

Is there any resolution for it?

I saw in some other issue that it is bug, user with new codes cannot post on 
linkedIn, by the time can we use some generic keys. Anyway to resolve it.

What is the expected output? What do you see instead?
NO status update


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

My android is 2.3 and I am using Mac


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Dec 2012 at 11:46

  • Merged into: #3

twitter authorize app

When i have authorized app to access my twitter, it still will prompt 
"authorize app" dialog if user leaves and then comes back to app.

Is it possible to check if there already is app access and if yes then skip 
authorize an application?

Original issue reported on code.google.com by [email protected] on 29 Jan 2013 at 5:24

Out of memory upload image on Twitter

I try to upload a 55kb photo on the Twitter.
It uses the memory up to 50MB and throw exception.

Sometimes it does throw out-of-memory exception. It uploads photo 
unsuccessfully and the SocialAuthListener<Integer> feedback the status - 403 .

Thanks.

Original issue reported on code.google.com by [email protected] on 2 Apr 2013 at 3:53

adapter.getContactList does not work inside AsyncTask

What steps will reproduce the problem?
1. Create new AsyncTask
2. Inside doInBackground call adapter.getContactList

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

getContactList must return as well if it called inside main thread (in main 
thread all works good)

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

2.0, android 4.0.4



Original issue reported on code.google.com by [email protected] on 18 Feb 2013 at 10:51

authetication error

when provider is already connected twitter and facebook integration gives 
authentication error..can u please explain me why ?


Original issue reported on code.google.com by [email protected] on 17 Jan 2013 at 6:10

  • Merged into: #17

Issue with twitter: Unable to retrieve the access token. Status: 401.

I use the latest socialauth-android version from here (2.0): 
https://code.google.com/p/socialauth-android/downloads/list

It perfectely worked some days ago. Today I checked my android app and founded, 
it can't able to use twitter. 

I'm getting error when trying to connect to twitter:

04-06 21:01:18.121: I/SocialAuthManager(15493): Connecting provider : twitter
04-06 21:01:18.121: I/TwitterImpl(15493): Verifying the authentication response 
from provider
04-06 21:01:18.121: I/OAuth1(15493): Verifying the authentication response from 
provider
04-06 21:01:18.991: W/System.err(15493): 
org.brickred.socialauth.exception.SocialAuthException: Unable to retrieve the 
access token. Status: 401
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.util.OAuthConsumer.getAccessToken(OAuthConsumer.java:269
)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.oauthstrategy.OAuth1.verifyResponse(OAuth1.java:97)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.oauthstrategy.OAuth1.verifyResponse(OAuth1.java:107)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.provider.TwitterImpl.doVerifyResponse(TwitterImpl.java:1
67)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.provider.TwitterImpl.verifyResponse(TwitterImpl.java:158
)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:243)
04-06 21:01:18.991: W/System.err(15493):    at 
java.lang.Thread.run(Thread.java:856)
04-06 21:01:18.991: D/SocialAuthError(15493): 
org.brickred.socialauth.exception.SocialAuthException: Unable to retrieve the 
access token. Status: 401
04-06 21:01:18.991: W/System.err(15493): 
org.brickred.socialauth.android.SocialAuthError: Unknown Error
04-06 21:01:18.991: W/System.err(15493):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:263)
04-06 21:01:18.991: W/System.err(15493):    at 
java.lang.Thread.run(Thread.java:856)
04-06 21:01:18.991: D/Share-Bar(15493): Unknown Error

I've checked, callback url, consumer key, and permission(Read and Write). 

What is the problem? Why can't access the token?
Some days ago it was possible to send messages, even images, now nothing works.


Original issue reported on code.google.com by chistovskis on 6 Apr 2013 at 6:14

Twitter "URL Authentication error"

What steps will reproduce the problem?
1. Register app with Twitter
2. Obtain consumer key and secret
3. Run Android app using key and secret

What is the expected output? What do you see instead?
Should tweet to the user's account but encounters the errors "Application keys 
are not correct. The server running the application should be the same that was 
registered to get the keys." and "URL Authentication error" (see attached log).

What version of the product are you using? On what operating system?
App compiled with Eclipse Indigo for Mac 10.7, emulated on Android 4.2

Please provide any additional information below.
Facebook integration works no problem. My oauth_consumer.properties looks like 
this:
#facebook
graph.facebook.com.consumer_key = (my-facebook-key)
graph.facebook.com.consumer_secret = (my-facebook-secret)

#twitter
twitter.com.consumer_key = (my-twitter-key)
twitter.com.consumer_secret = (my-twitter-secret)

Are there any other fields I need in order for Twitter to work? I am sure that 
the keys match: I checked about three times and even tried resetting them and 
rechecking, still producing the same error. Is there any further requirements 
on the Twitter side that I need to set up other than the app name and keys? 
Thanks in advance.

Original issue reported on code.google.com by [email protected] on 26 Jan 2013 at 4:42

Attachments:

Twiitter profile map returns null for user's information

What steps will reproduce the problem?
1.Installed share bar app from SDK 1.0 zip
2.Click on twitter icon

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

I've was expecting to see user's first and last name in logs.
But profileMap object from twitter returns NULL string.

I've tested facebook, and it works fine. 
What is the problem with twitter? 


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

2.3.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Jan 2013 at 10:55

Share via Mail

I want to add sharing via mail option to share menu. Is it possible ?

Original issue reported on code.google.com by [email protected] on 10 Apr 2013 at 7:14

secret key security

What steps will reproduce the problem?
1. implement one of the sample apps
2. root the phone
3. extract the assets and thus the secret keys

Please provide any additional information below.

Is there any way to protect the assets / secret keys?

Original issue reported on code.google.com by [email protected] on 6 Feb 2013 at 7:23

FourSquare don´t load the authenticate page

What steps will reproduce the problem?
1. Sharer button option
2. Click share button
3. Select Foursquare as provider

What is the expected output? What do you see instead?
The expected output is the authenticating page where foursquare ask you for 
permissions. 
The actual result is a blank page.

What version of the product are you using? On what operating system?
I´m using social-auth 2.0 on Android 2.3.3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Mar 2013 at 1:20

Warnings with final product, not during testing and development

I get the following warnings on my final product, and I'm hoping someone could 
explain it:

D/SocialAuthAdapter? (18237): Selected provider is facebook

D/SocialAuthAdapter? (18237): Starting webview for authentication

W/SocialAuthManager? (18237): org.brickred.socialauth.provider.FacebookImpl? 
does not implement a constructor 
org.brickred.socialauth.provider.FacebookImpl?(Poperties props)

W/System.err(18237): java.lang.InstantiationException?: 
org.brickred.socialauth.provider.FacebookImpl?

W/System.err(18237): at java.lang.Class.newInstanceImpl(Native Method)

W/System.err(18237): at java.lang.Class.newInstance(Class.java:1409)

W/System.err(18237): at org.brickred.socialauth.SocialAuthManager?.b(Unknown 
Source)

W/System.err(18237): at org.brickred.socialauth.SocialAuthManager?.a(Unknown 
Source)

W/System.err(18237): at org.brickred.socialauth.SocialAuthManager?.a(Unknown 
Source)

W/System.err(18237): at 
org.brickred.socialauth.android.SocialAuthAdapter?$3.run(Unknown Source)

W/System.err(18237): at java.lang.Thread.run(Thread.java:1019)

What is the expected output? What do you see instead?
During development everything works fine, and everything I submit is posted on 
facebook... But the final product logs those messages and does nothing. The 
same thing happens on the other provider I use (Twitter).

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

socialauth-4.0.jar 

socialauth-android.jar


Please provide any additional information below.

I do use proguard with the following:

-keep class org.brickred. -dontwarn org.brickred.


Please advise, and thank you for your time.

Best regards

Original issue reported on code.google.com by [email protected] on 28 Feb 2013 at 11:12

java.lang.NoClassDefFoundError: org.brickred.socialauth.android.SocialAuthAdapter

What steps will reproduce the problem?
1. Include the socialauth-2.3.jar and socialauth-android-1.0.jar in the project 
path and select to export them. 
2. Clean the project 
3. Run the code provided in the example

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

11-19 21:23:05.465: I/dalvikvm(24803): Could not find method 
org.brickred.socialauth.android.SocialAuthAdapter.getUserProfile, referenced 
from method me.ludis.LoginOptionList.Events

11-19 21:23:05.465: W/dalvikvm(24803): VFY: unable to resolve virtual method 
3692: Lorg/brickred/socialauth/android/SocialAuthAdapter;.getUserProfile 
()Lorg/brickred/socialauth/Profile;

11-19 21:23:05.505: E/AndroidRuntime(24803): java.lang.NoClassDefFoundError: 
org.brickred.socialauth.android.SocialAuthAdapter


What version of the product are you using? On what operating system?
Android API 16

Please provide any additional information below.
Tried the solution proposed in the below thread but none of them seem to work. 
http://stackoverflow.com/questions/12295754/noclassdeffounderror-when-adding-soc
ialauth-in-eclipse


Original issue reported on code.google.com by [email protected] on 19 Nov 2012 at 9:34

Acquiring Linkedin User Info

Presently when I login through LinkedIn I get all the basic info of the user 
including his emailId, but his Designation and Company Name is unavailable as 
of now. If there could be a way to get that as well, it would be of great help. 
Im stuck because of that. Please Help.

Original issue reported on code.google.com by [email protected] on 27 Feb 2013 at 5:48

Linkedin not working SDK 2.1 and SDK 2.2

I am getting the Twitter dialog but the application icon is not showing up.Also 
there is some delay when the dialog appears.I checked in the log cat,it shows 
the following error:

1.Could not find method java.lang.String.isEmpty, referenced from method 
org.brickred.socialauth.SocialAuthConfig.setProxy

2.VFY: unable to resolve virtual method 3721: Ljava/lang/String;.isEmpty ()Z

What may be the reason,should it be the problem with callBack URL?
Hope you can help.

With regards,
Jayanth


Original issue reported on code.google.com by [email protected] on 16 Mar 2013 at 7:01

Still data not getting posted

Hi Vineeth,
    i had downloaded ur new code from svn, but still if i use my keys i'm not able to post message.
i had filled the registration app form correctly but not able to find where the 
mistake, can u help me out? is there any other solution?

Original issue reported on code.google.com by [email protected] on 29 Jan 2013 at 7:54

Crash report on Market linked to SocialAuth

android.view.WindowManager$BadTokenException: Unable to add window -- token 
android.os.BinderProxy@41a73408 is not valid; is your activity running?
 at android.view.ViewRootImpl.setView(ViewRootImpl.java:685)
 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:301)
 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
 at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
 at android.view.Window$LocalWindowManager.addView(Window.java:537)
 at android.app.Dialog.show(Dialog.java:278)
 at org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient.onPageStarted(SocialAuthDialog.java:286)
 at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:309)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:137)
 at android.app.ActivityThread.main(ActivityThread.java:4517)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:511)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
 at dalvik.system.NativeStart.main(Native Method)

SocialAuth has worked fine on my posting tests before and this is the first 
report so I don't think it is in my code... Though I'm open to suggestions for 
what to look for. There is more than one point that triggers SocialAuth in my 
app and I'm not sure which this was linked to, but I could provide code for 
both if desired. They're both share button triggers from the activity.


What version of the product are you using? On what operating system?
I believe am using the latest full build; not the SVN.


Original issue reported on code.google.com by [email protected] on 20 Jan 2013 at 12:39

Linkedin New Keys Bug

I want to know is there any way to send message to linkedin connection on his 
linkedin account through app i.e can we inbox him through our app?

some function like this: ProfileMap.sendmessage(id, subject,body);

Thanks in advance


Original issue reported on code.google.com by [email protected] on 18 Oct 2012 at 4:46

Facebook link sharing

HI,

I'd like to ask for help.

1)
Could you help me, how can I post a link to facebook wall with alias?
e.g. The link text is 'whatever' but link to the www.google.com address.
Such as: <a href="www.google.com">whatever</a>

I could post simple link when I put the www.google.com text to the message.
But in this way the www.google.com message is shown which is a link, but 
I'd like to show the 'whatever' message which is a link to www.google.com.

2)
Is there any conceptual possibility to provide adapter for G+?


Thanks,

László Takács

Original issue reported on code.google.com by csiburashka on 5 Feb 2013 at 4:19

LinkedInImpl does not seem to return email address of the user

Is there a way to get the email address of the user on linkedin? The 
LinkedInImpl does not seem to return back the email address of the user.

I have configured socialauth for facebook and linkedin. Facebook is returning 
me the email address while linkedin is returning me the first name and other 
things also(I suppose) but not the email address of the user.

If there is no option to get the email address using current implementation. 
What all things need to be done to configure a custom linkedInImpl in place of 
socialauth's LinkedInImpl?



Original issue reported on code.google.com by [email protected] on 19 Dec 2012 at 1:44

Crash when attempting to open the dialog while the activity is finishing

What steps will reproduce the problem?
1. Cause the activity to start finishing
2. Attempt to open a dialog

What is the expected output? What do you see instead?
The dialog should show or be disallowed gracefully but the following crash 
occurs

android.view.WindowManager$BadTokenException: Unable to add window -- token 
android.os.BinderProxy@41a73408 is not valid; is your activity running?
 at android.view.ViewRootImpl.setView(ViewRootImpl.java:685)
 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:301)
 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
 at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
 at android.view.Window$LocalWindowManager.addView(Window.java:537)
 at android.app.Dialog.show(Dialog.java:278)
 at org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient.onPageStarted(SocialAuthDialog.java:286)
 at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:309)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:137)
 at android.app.ActivityThread.main(ActivityThread.java:4517)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:511)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
 at dalvik.system.NativeStart.main(Native Method)


What version of the product are you using? On what operating system?
The latest public build; not the SVN.


Please provide any additional information below.
When a dialog is being opened first check the activity context is not being 
closed by calling isFinishing() on it. Don't open the dialog if this returns 
true.

Original issue reported on code.google.com by [email protected] on 26 Jan 2013 at 2:13

Linkedin Update status error

Although i got the user profile details such as name, surname and profile pic 
url, i am getting error while updating status. I sure that my consumer and 
secret keys are correct.  I attaching log file. 

Original issue reported on code.google.com by [email protected] on 5 Dec 2012 at 2:47

Attachments:

Twitter Get Album Bug

What steps will reproduce the problem?
Twitter get album loads only first time.

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

The album should load if open app gain.

What version of the product are you using? On what operating system?
svn version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Jan 2013 at 7:49

login in and log out

What steps will reproduce the problem?
1.seperate button for log in and log out
2.
3.

What is the expected output? What do you see instead?
log in and log out manually

What version of the product are you using? On what operating system?
4.03

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Nov 2012 at 1:45

Can't login to google

What steps will reproduce the problem?

Trying to login to google account from my app.
I've registered domain, pushed received file on my web site, added key to 
properties file. But login fails.

I've called addCallback method to my website.

This is the logcat stacktrace:

02-19 20:46:55.769: W/System.err(3208): 
org.brickred.socialauth.exception.SocialAuthException: Key in Request Token is 
null or blank
02-19 20:46:55.769: W/System.err(3208):     at 
org.brickred.socialauth.util.OAuthConsumer.getAccessToken(OAuthConsumer.java:231
)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.oauthstrategy.Hybrid.verifyResponse(Hybrid.java:138)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.oauthstrategy.Hybrid.verifyResponse(Hybrid.java:115)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.provider.GoogleImpl.doVerifyResponse(GoogleImpl.java:158
)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.provider.GoogleImpl.verifyResponse(GoogleImpl.java:147)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
02-19 20:46:55.779: W/System.err(3208):     at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$2.run(S
ocialAuthDialog.java:375)
02-19 20:46:55.779: W/System.err(3208):     at 
java.lang.Thread.run(Thread.java:1019)


What does this mean? what I'm doing wrong?

Original issue reported on code.google.com by [email protected] on 19 Feb 2013 at 7:50

Send App Request to our Friends

I want my app which is integrated with social-auth, to send app request to my 
friends in the list.

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

In the attached image.

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

Eclipse with ADT 21


Original issue reported on code.google.com by [email protected] on 11 Mar 2013 at 11:38

Attachments:

Only Facebook sharing is working..

Only Facebook sharing button is working. when click on others button nothing 
happens. but when click on facebook button it starts sharing dialog.

Original issue reported on code.google.com by djahmednawaz on 4 Dec 2012 at 6:46

Twitter Authentication Issue

Updated the libs files from the SVN
Filled the call back url

Still i cant get the login window... what might be the reason??

Logcat:
org.brickred.socialauth.exception.SocialAuthConfigurationException: Application 
keys are not correct. The server running the application should be same that 
was registered to get the keys.
at 
org.brickred.socialauth.util.OAuthConsumer.getRequestToken(OAuthConsumer.java:20
6)
at 
org.brickred.socialauth.oauthstrategy.OAuth1.getLoginRedirectURL(OAuth1.java:69)
at 
org.brickred.socialauth.provider.TwitterImpl.getLoginRedirectURL(TwitterImpl.jav
a:142)
at 
org.brickred.socialauth.SocialAuthManager.getAuthURL(SocialAuthManager.java:161)
at 
org.brickred.socialauth.SocialAuthManager.getAuthenticationUrl(SocialAuthManager
.java:115)
at 
org.brickred.socialauth.android.SocialAuthAdapter$3.run(SocialAuthAdapter.java:3
61)
at java.lang.Thread.run(Thread.java:1019)
org.brickred.socialauth.android.SocialAuthError: URL Authentication error
at 
org.brickred.socialauth.android.SocialAuthAdapter$3.run(SocialAuthAdapter.java:3
79)
at java.lang.Thread.run(Thread.java:1019)

Thanks in advance....

Original issue reported on code.google.com by njarunnj on 31 Jan 2013 at 11:28

Twitter auth not working

This erro occur when i try to conect on twitter:

12-06 14:59:37.774: W/System.err(23537): 
org.brickred.socialauth.exception.SocialAuthConfigurationException: Application 
keys are not correct. The server running the application should be same that 
was registered to get the keys.
at 
org.brickred.socialauth.util.OAuthConsumer.getRequestToken(OAuthConsumer.java:18
8)
at 
org.brickred.socialauth.util.OAuthConsumer.getRequestToken(OAuthConsumer.java:18
8)

Original issue reported on code.google.com by jlccaires on 6 Dec 2012 at 6:04

post a message with a photo on the wall of facebook

Hello, 

I have a question. UploadImage can post a photo with the texts in a album on 
facebook. Is it possible to post a message with a photo on the wall of facebook 
(not a album)?   

I am looking forward to your reply

Best regards

luoshao118

Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 1:43

Twitter share not working

HI,

I am trying to sharing something on twitter, but it's not working. I've created 
a twitter app. It's OK, but what does it mean "Access token" and "Access token 
secret" on my application page? I have not read this in "twitter wiki step by 
step" :(
The connection is good with my application, because it appear in "Apps" on my 
personal twitter page. But when I am trying to sharing something from my 
android application the social auth always request permisson for twitter 
application.
I click "OK", but on my twitter page doesn't turn up my tweet :(
Please help me what is the problem.

Thanks!

Original issue reported on code.google.com by csiburashka on 23 Jan 2013 at 2:18

How to post on Gmail

It is kind of request to know that how can I share something in gmail, like 
composing a email.Also is it possible to share a Bundle like 
caption,description,image in facebook along with status message?

Many Thanks,
Asmita


Original issue reported on code.google.com by [email protected] on 31 Dec 2012 at 11:48

Twitter Posting not working

Im getting this on the logcat after clicking twitter:

==========================================

W/System.err(4855): 
org.brickred.socialauth.exception.SocialAuthConfigurationException: Application 
keys are not correct. The server running the application should be same that 
was registered to get the keys.
    at org.brickred.socialauth.util.OAuthConsumer.getRequestToken(OAuthConsumer.java:188)

==========================================================

im pretty sure that key and secret are the same as on twitter
Can anybody help?

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:35

ResourcesNotFoundException

I import socialauth in  my project. When provider button is clicked i get 
error. 
I import both required libs files from sample project and then i Add to Build 
Path.
I have tried Clean up project, target different SDK like 2.3.3 and 3.0 and 4.0 
nothing helps.

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

01-25 18:22:04.625: I/dalvikvm(12486): Turning on JNI app bug workarounds for 
target SDK version 11...
01-25 18:22:04.715: D/SocialAuthAdapter(12486): Enabling bar with SocialAuth
01-25 18:22:04.735: D/TextLayoutCache(12486): Using debug level: 0 - Debug 
Enabled: 0
01-25 18:22:12.873: D/SocialAuthAdapter(12486): Selected provider is twitter
01-25 18:22:12.873: D/SocialAuthAdapter(12486): Loading keys and secrets from 
configuration
01-25 18:22:12.903: I/SocialAuthConfig(12486): Loading application configuration
01-25 18:22:12.933: I/TwitterImpl(12486): Determining URL for redirection
01-25 18:22:12.933: I/OAuth1(12486): Determining URL for redirection
01-25 18:22:13.714: I/OAuth1(12486): Redirection to following URL should happen 
: 
https://api.twitter.com/oauth/authorize?oauth_token=SOBM3ujJw8OEWDEf1vvWqHIrsyT2
8ZvAFlohQ3Sk&oauth_callback=twitterapp%3A%2F%2Fconnect
01-25 18:22:13.714: D/SocialAuthAdapter(12486): Loading URL : 
https://api.twitter.com/oauth/authorize?oauth_token=SOBM3ujJw8OEWDEf1vvWqHIrsyT2
8ZvAFlohQ3Sk&oauth_callback=twitterapp%3A%2F%2Fconnect&type=user_agent&display=t
ouch
01-25 18:22:13.714: D/SocialAuthAdapter(12486): Callback URI : 
twitterapp://connect
01-25 18:22:13.724: W/ResourceType(12486): No package identifier when getting 
value for resource number 0x00000000
01-25 18:22:13.724: D/AndroidRuntime(12486): Shutting down VM
01-25 18:22:13.724: W/dalvikvm(12486): threadid=1: thread exiting with uncaught 
exception (group=0x40a98210)
01-25 18:22:13.724: E/AndroidRuntime(12486): FATAL EXCEPTION: main
01-25 18:22:13.724: E/AndroidRuntime(12486): 
android.content.res.Resources$NotFoundException: Resource ID #0x0
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.content.res.Resources.getValue(Resources.java:1023)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.content.res.Resources.getDrawable(Resources.java:668)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
org.brickred.socialauth.android.SocialAuthDialog.setUpTitle(SocialAuthDialog.jav
a:149)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
org.brickred.socialauth.android.SocialAuthDialog.onCreate(SocialAuthDialog.java:
123)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.app.Dialog.dispatchOnCreate(Dialog.java:353)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.app.Dialog.show(Dialog.java:257)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
org.brickred.socialauth.android.SocialAuthAdapter$3$1.run(SocialAuthAdapter.java
:372)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.os.Handler.handleCallback(Handler.java:605)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.os.Looper.loop(Looper.java:137)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
android.app.ActivityThread.main(ActivityThread.java:4441)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
java.lang.reflect.Method.invokeNative(Native Method)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
java.lang.reflect.Method.invoke(Method.java:511)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
01-25 18:22:13.724: E/AndroidRuntime(12486):    at 
dalvik.system.NativeStart.main(Native Method)




Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 4:24

Tweets are not posted through social auth android 4.0

What steps will reproduce the problem?
1.Integrated as per the instructions
2.It worked fine up to 04/04/2013.
3.Your sample programs social-bar, social button are also not working.Not able 
to see the tweets posted at twitter

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

Tweets has to be posted to twitter

What version of the product are you using? On what operating system?
4.0

Please provide any additional information below.

Authentication happens. I was allowed to give twitter username and password  
and then after, i was not allowed to tweet. 

Message at logcat : error at get AcessToken. Find the log attached


Original issue reported on code.google.com by [email protected] on 5 Apr 2013 at 2:35

Attachments:

Not posting LinkedIn updates containing ampersand ('&')

Hi,
I've downloaded the source code for the new version from the svn which contains 
the fix for the new LinkedIn API. It works fine but I've noticed an exception. 
For status updates containing '&' the update isn't posted, although the logcat 
says 'Message Posted'. I noticed this trying to post an update containing a 
link trailed by multiple parameters separated by '&' but the issue stands for 
any string containing this character.
I hope it's an easy fix and I appreciate the work that has been done on this  
very helpful library.

Original issue reported on code.google.com by [email protected] on 18 Jan 2013 at 1:42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.