Comments (18)
I tried your app id and it seems to work fine ... can you provide any more details? Does the blank page have a title? Look at the log and send the last URL (it might be really long) that the dialog tried loading.
from facebook-android-sdk.
Hello,
The last url web view tries to load is
This url loads completely, but im getting a blank page, with no title shown. If have added more log statements, it seems, this url goes in the condition, the url contains 'display=touch'. When i check the code, the value returned from this condition is 'false'. But if i comment that portion of code and make the url to load in the browser its loading the login the page in the browser. Can you please help me to fix this issue?
from facebook-android-sdk.
I have checked in 2.0 emulators. The same thing is happening in HTC dream.
from facebook-android-sdk.
On my actual HTC Magic logins are now failing and eventually load a page in a full screen web browser.
I am seeing slightly different results on an emulator running 1.6, but it still isn't working. Both were working fine a week ago and none of my code has changed. Here are the log entries from the emulator:
06-27 20:28:32.819: DEBUG/Facebook-WebView(306): Webview loading URL: https://graph.facebook.com/oauth/authorize?display=touch&redirect_uri=fbconnect://success&type=user_agent&client_id=121355764553989
06-27 20:28:40.309: DEBUG/Facebook-WebView(306): Webview loading URL: https://www.facebook.com/connect/uiserver.php?display=touch&redirect_uri=fbconnect%3A%2F%2Fsuccess&type=user_agent&client_id=121355764553989&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D121355764553989&cancel_url=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D121355764553989&fbconnect=1&return_session=1&app_id=121355764553989&method=permissions.request
from facebook-android-sdk.
The entries in the log file on the phone look similar to what the emulator is reporting.
from facebook-android-sdk.
Having the same issue. But one weird behavior....when I use my home wifi for connecting to network it works fine but when I use my cellular EDGE network this issue props up.
from facebook-android-sdk.
Hi, I am also getting the same issue. Blank page after clicking "Login" button.
Environment: Android 2.1 Emulator
App ID : 131695460195139
I also tried adding the clear session after restore, but the issue remains.
from facebook-android-sdk.
When i paste the webview url https://graph.facebook.com/oauth/authorize?display=touch&scope=publish_stream,read_stream,offline_access&client_id=131695460195139&type=user_agent&redirect_uri=fbconnect://success in firefox, I get an "Untrusted Connection" error.
Could the blank page issue be due to this problem ?
The log of my error as shown in the emulator :
07-01 03:07:33.170: DEBUG/Facebook-Util(525): GET URL: https://api.facebook.com/restserver.php?method=auth.expireSession&format=json
07-01 03:07:36.720: INFO/ActivityManager(60): Displayed activity com.facebook.android/.Example: 8034 ms (total 8034 ms)
07-01 03:07:53.130: DEBUG/Facebook-WebView(525): Webview loading URL: https://graph.facebook.com/oauth/authorize?display=touch&scope=publish_stream,read_stream,offline_access&client_id=131695460195139&type=user_agent&redirect_uri=fbconnect://success
07-01 03:07:57.491: DEBUG/dalvikvm(525): GC freed 5077 objects / 312536 bytes in 116ms
07-01 03:08:00.340: DEBUG/dalvikvm(60): GC freed 14583 objects / 715472 bytes in 281ms
07-01 03:08:02.070: DEBUG/Facebook-WebView(525): Webview loading URL: https://www.facebook.com/connect/uiserver.php?display=touch&scope=publish_stream%2Cread_stream%2Coffline_access&client_id=131695460195139&type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26client_id%3D131695460195139%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess&cancel_url=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26client_id%3D131695460195139%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess&fbconnect=1&return_session=1&app_id=131695460195139&method=permissions.request&perms=publish_stream%2Cread_stream%2Coffline_access
07-01 03:08:02.080: DEBUG/Facebook-WebView(525): Redirect URL: https://www.facebook.com/connect/uiserver.php?display=touch&scope=publish_stream%2Cread_stream%2Coffline_access&client_id=131695460195139&type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26client_id%3D131695460195139%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess&cancel_url=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26client_id%3D131695460195139%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess&fbconnect=1&return_session=1&app_id=131695460195139&method=permissions.request&perms=publish_stream%2Cread_stream%2Coffline_access
07-01 03:08:10.020: DEBUG/dalvikvm(525): GC freed 6519 objects / 374824 bytes in 118ms
07-01 03:08:10.880: WARN/InputManagerService(60): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43e9e7c0
from facebook-android-sdk.
Looks like this is related to this bug http://bugs.developers.facebook.com/show_bug.cgi?id=9944
I am able to circument this problem by not using https in the following places of Facebook.java
protected static String OAUTH_ENDPOINT = "http://graph.facebook.com/oauth/authorize";
protected static String UI_SERVER = "http://www.facebook.com/connect/uiserver.php";
After the above change, it seems to be working fine !!
from facebook-android-sdk.
Changing to http has fixed this for me.
Cheers for the solution, would not have been the first thing I tried.
from facebook-android-sdk.
Yes....Changing to "http" works for me too....
from facebook-android-sdk.
Leave the graph api usikng https though, otherwise you wont be able to do post methods
from facebook-android-sdk.
I have changed to http: instead of https:, but still im getting empty login page.
from facebook-android-sdk.
I have the same issue
from facebook-android-sdk.
This is still failing for me. Any word on when we might see a fix?
from facebook-android-sdk.
I fixed the blank dialog problems by using the latest from this branch instead: http://github.com/kneeshemoorah/facebook-android-sdk
from facebook-android-sdk.
fixed the issue visit my post at http://myunixworld.blogspot.com/2010/11/android-facebook-sdk-issue-fix-for.html
from facebook-android-sdk.
Dupe of issue #41
from facebook-android-sdk.
Related Issues (20)
- Unexpected "Invalid app id" error HOT 1
- Is this repository live? No answers from Facebook employees to many critical issues
- ANR:Input dispatching timed out (4b6b26a xxx/com.facebook.FacebookActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=true)) HOT 1
- There was a problem using Facebook version 12.3.0 integration login
- Log In with Patreon confirmation HOT 1
- Automatic event fb_sdk_settings_changed collects private user data
- Different performance when share the same link by web or native handler.
- Is somebody here from Facebook to solve almost 8 years old serious bug??? Your (and our) users are really angry https://github.com/facebook/facebook-android-sdk/issues/1216 HOT 1
- Use CustomTabActivity to open Fallback Feed Link to fix Embedded WebView Error HOT 1
- SDK impacted by CVE-2022-25647
- SDK should use isDebugEnabledField instead of BuildConfig.DEBUG
- Feature Request: external_id HOT 1
- Invalid Signature HOT 1
- Login for business
- Profile Pic
- Please allow indie developers to impelement Facebook Login without business verification
- Facebook SDK is not adding necessary manifest queries/intents for results from PackageManager.getActivityInfo.
- Important paper's
- SDK show WebView login instead of bring the Facebook App to share my content
- Facebook Deferred DeepLink is not working anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-android-sdk.