archern9 / loglr Goto Github PK
View Code? Open in Web Editor NEWA project to enable 'Login using Tumblr' a breeze.
License: MIT License
A project to enable 'Login using Tumblr' a breeze.
License: MIT License
How to get logout after logging in ?
Hello,
I am using 'com.daksh:loglr:1.2.1' dependency in my android application for tumblr login.
It works in other devices but when try to login Tumblr in "Moto g4 plus" device (Android OS 7.0) it always calls onLoginFailed listener.
Below is my stack trace:
09-07 17:53:08.124 4232-6796/com.oolotta W/DefaultRequestDirector: Authentication error: Unable to respond to any of these challenges: {oauth_consumer=WWW-Authenticate: Oauth_consumer realm="api", cookie=WWW-Authenticate: Cookie realm="web"}
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: oauth.signpost.exception.OAuthNotAuthorizedException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:243)
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:193)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:74)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:152)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:34)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:304)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.lang.Thread.run(Thread.java:761)
09-07 17:53:08.134 4232-4232/com.oolotta E/FA: Name must consist of letters, digits or _ (underscores). Type, name: event, Login Failed
09-07 17:53:08.134 4232-4232/com.oolotta W/System.err: com.tumblr.loglr.Exceptions.LoglrLoginException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:162)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:34)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:304)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.lang.Thread.run(Thread.java:761)
09-07 17:53:08.139 4232-6721/com.oolotta D/FA: Logging event (FE): _err, Bundle[{_o=auto, _el=12, _ev=Login Failed, _sc=LoglrActivity, _si=4348724245434743105, _err=2}]
09-07 17:53:08.194 4232-6721/com.oolotta V/FA: Recording user engagement, ms: 1036
09-07 17:53:08.195 4232-6721/com.oolotta V/FA: Activity paused, time: 28381262
09-07 17:53:08.199 4232-6721/com.oolotta D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=1036, _sc=LoglrActivity, _si=4348724245434743105}]
09-07 17:53:08.237 4232-6721/com.oolotta V/FA: Activity resumed, time: 28381285
09-07 17:53:13.239 4232-6721/com.oolotta V/FA: Inactivity, disconnecting from the service
Please help...
Hello Developer,
Great work you have done!!
Can u please let me know how to fetch the user name and email address?
I have integrated tumblr in application , integrated Loglr, works perfect on new project, I like to do sign out functionality in application, But don't know how to do..
Hello, I am not able to find R.id.activity_tumblr_webview in your projext. Kindly help me out
At present, default ProgressDialogs are displayed to the user while data is loading from the server and it requires waiting. This functionality will enable the library to accept custom Dialogs from developers so that user experience may be maintained consistent throughout the application.
Hi,
I am facing an issue while trying to login, here is the output:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.webkit.WebSettings android.webkit.WebView.getSettings()' on a null object reference at com.tumblr.loglr.TaskTumblrLogin.onPostExecute(TaskTumblrLogin.java:203) at com.tumblr.loglr.TaskTumblrLogin.onPostExecute(TaskTumblrLogin.java:34) at android.os.AsyncTask.finish(AsyncTask.java:679) at android.os.AsyncTask.access$500(AsyncTask.java:180) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:696) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:150) at android.app.ActivityThread.main(ActivityThread.java:5621) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
any advice on here? Thanks!
For people using 2FA on Tumblr, support for auto detection of OTP message.
After adding implementation 'com.daksh:loglr:2.1.3' to the app build.gradle file it gives the error Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.0-beta-88.
Integrate Firebase analytics to track crashes and user behavior.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.