Comments (17)
Do you still have this issue?
Can you provide some more details? Are you trying to run one of the examples? What permissions are you requesting? What App ID are you testing with? Are you testing on a device or emulator? Does the device have network connectivity?
from facebook-android-sdk.
I am having the same problem with running the facebook-sdk example. I am using the android 2.2 api and froyo device. When I click on the Login button, it shows a loading sign and then blank screen with error title and OK button. What could be wrong?
from facebook-android-sdk.
Are you using a valid App ID? What App ID are you testing with?
from facebook-android-sdk.
Create an account for your application using the link
http://developers.facebook.com/setup/
Then use the app_id and try again
from facebook-android-sdk.
Hi,I am also getting blank screen even after creating app_id using the above link.
from facebook-android-sdk.
Can you provide the App ID that you are trying to use? Does the blank dialog box have anything displayed in the title?
from facebook-android-sdk.
Hi, I have tried running both the examples "facebookSDK-example" and "stream". They rarely display the login screen when I click the connect button, most of the times it is just a blank screen with title facebook.
my "facebookSDK-example" app name is "TestFBSDK" with app_id 115630648480232.
my "stream" app name is "CheckFBSDK" with app_id 131505246861774.
Thanks,
Bhupathi
from facebook-android-sdk.
Hi Soneff,
I do get the main screen. when i click on the Login button, i get a blank white screen (like a pop-up) with a loading window for sometime. when the loading window is done, the screen reains blank but does have 'Facebook' in the blue header.
The app ID i used is 112255338818577.
from facebook-android-sdk.
@soneff: Followup... more info on my trial..... I used ADP1 to run the facebook-sdk example in the SDK. I tried it on Android 1.6 also. I tried it via WiFi and 3G. The result was the same.
from facebook-android-sdk.
Hi Soneff,
here's the log for the Blank Screen:
06-04 16:30:35.931: INFO/ActivityManager(71): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.facebook.android/.Example }
06-04 16:30:36.011: INFO/ActivityManager(71): Start proc com.facebook.android for activity com.facebook.android/.Example: pid=373 uid=10034 gids={3003}
06-04 16:30:36.661: INFO/ActivityManager(71): Displayed activity com.facebook.android/.Example: 671 ms (total 671 ms)
06-04 16:30:47.751: INFO/jdwp(373): received file descriptor 30 from ADB
06-04 16:30:57.781: DEBUG/Facebook-WebView(373): Webview loading URL: https://graph.facebook.com/oauth/authorize?display=touch&scope=publish_stream,read_stream,offline_access&redirect_uri=fbconnect://success&type=user_agent&client_id=112255338818577
06-04 16:31:01.831: DEBUG/dalvikvm(373): GC freed 3746 objects / 297384 bytes in 121ms
06-04 16:31:02.981: DEBUG/Facebook-WebView(373): Webview loading URL: https://www.facebook.com/connect/uiserver.php?display=touch&scope=publish_stream%2Cread_stream%2Coffline_access&redirect_uri=fbconnect%3A%2F%2Fsuccess&type=user_agent&client_id=112255338818577&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D112255338818577&cancel_url=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D112255338818577&fbconnect=1&return_session=1&app_id=112255338818577&method=permissions.request&perms=publish_stream%2Cread_stream%2Coffline_access
06-04 16:31:02.981: DEBUG/Facebook-WebView(373): Redirect URL: https://www.facebook.com/connect/uiserver.php?display=touch&scope=publish_stream%2Cread_stream%2Coffline_access&redirect_uri=fbconnect%3A%2F%2Fsuccess&type=user_agent&client_id=112255338818577&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D112255338818577&cancel_url=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Dpublish_stream%252Cread_stream%252Coffline_access%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D112255338818577&fbconnect=1&return_session=1&app_id=112255338818577&method=permissions.request&perms=publish_stream%2Cread_stream%2Coffline_access
06-04 16:31:04.341: DEBUG/dalvikvm(373): GC freed 7396 objects / 398496 bytes in 122ms
06-04 16:31:04.571: WARN/InputManagerService(71): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43bd5e28
I also have a sceenshot but i cant post iages here unfortunately. Hope this can give you a better idea to help me resolve it.
from facebook-android-sdk.
I am not having this problem anymore. The problem was I had not copied the right API key in the Example.java file. Once corrected it worked like a charm.
from facebook-android-sdk.
@mbeelv I haven't been able to reproduce this problem with App 112255338818577 (it seems to work fine with my test account). Perhaps try the following: clear any local session state and saved cookies. This can be done by inserting the following line in Example.java:
try { mFacebook.logout(this); } catch (Exception e) { e.printStackTrace(); }
after SessionStore.restore(mFacebook, this); (Example.java: line 79)
Also check that you don't have any network connectivity issues in your test environment.
from facebook-android-sdk.
@corpusmobile: I haven't been able to reproduce the problem with your App IDs (they work fine with my test account). Try clearing the cookies using the technique I described above. You could also try wipe the user data on the emulator and reinstalling the app or creating a new test app.
I've asked for some server-side changes to give some debugging information rather than a blank screen, but these won't be available until the next server push early next week.
from facebook-android-sdk.
Thanks soneff, the solution worked like a charm. was able to post msgs too :)
from facebook-android-sdk.
Hai, im using the following app id '107714532611441'. Still im getting the blankl login page.
from facebook-android-sdk.
Hi Soneff,
My application id is 139668799384158. I m still getting blank screen.
(Earlier it wasnot giving me login screen also. But then i changed "https" to "http" in facebook.java file. After login now it shows blank screen with title "Facebook Login")
01-01 00:56:16.148: DEBUG/Facebook-Util(6515): GET URL: http://api.facebook.com/restserver.php?method=auth.expireSession&format=json
01-01 00:56:21.816: INFO/ActivityManager(2150): Displayed activity com.facebook.android/.Example: 6060 ms (total 6060 ms)
01-01 00:56:26.863: DEBUG/dalvikvm(5319): GC_EXPLICIT freed 106 objects / 9152 bytes in 36ms
01-01 00:56:33.210: INFO/AudioHardwareALSA(2088): Try to open ALSA PLAYBACK device AndroidPlayback
01-01 00:56:33.218: INFO/AudioHardwareALSA(2088): Initialized ALSA PLAYBACK device AndroidPlayback
01-01 00:56:33.218: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
01-01 00:56:33.218: DEBUG/AudioHardwareALSA(2088): Using 2 channels for PLAYBACK.
01-01 00:56:33.218: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK sample rate to 44100 HZ
01-01 00:56:33.218: DEBUG/AudioHardwareALSA(2088): Buffer size: 4096
01-01 00:56:33.218: DEBUG/AudioHardwareALSA(2088): Latency: 92879
01-01 00:56:34.043: ERROR/AudioHardwareALSA(2088): bufferSize 4096, periodSize 2048
01-01 00:56:34.043: WARN/AudioFlinger(2088): write blocked for 831 msecs, 44 delayed writes, thread 0x2e240
01-01 00:56:34.046: DEBUG/Facebook-WebView(6515): Webview loading URL: http://www.facebook.com/dialog/oauth?type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&client_id=139668799384158
01-01 00:56:39.851: DEBUG/Facebook-WebView(6515): Webview loading URL: http://www.facebook.com/connect/uiserver.php?app_id=139668799384158&method=permissions.request&display=touch&next=fbconnect%3A%2F%2Fsuccess&type=user_agent&fbconnect=1
01-01 00:56:39.851: DEBUG/Facebook-WebView(6515): Redirect URL: http://www.facebook.com/connect/uiserver.php?app_id=139668799384158&method=permissions.request&display=touch&next=fbconnect%3A%2F%2Fsuccess&type=user_agent&fbconnect=1
01-01 00:56:40.171: DEBUG/Facebook-WebView(6515): Webview loading URL: http://touch.facebook.com/login.php?app_id=139668799384158&fbconnect=1&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fapp_id%3D139668799384158%26method%3Dpermissions.request%26display%3Dtouch%26next%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26fbconnect%3D1%26from_login%3D1
01-01 00:56:40.171: DEBUG/Facebook-WebView(6515): Redirect URL: http://touch.facebook.com/login.php?app_id=139668799384158&fbconnect=1&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fapp_id%3D139668799384158%26method%3Dpermissions.request%26display%3Dtouch%26next%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26fbconnect%3D1%26from_login%3D1
01-01 00:56:51.546: DEBUG/dalvikvm(6515): GC_FOR_MALLOC freed 2807 objects / 199640 bytes in 38ms
01-01 00:56:51.742: WARN/InputManagerService(2150): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46141860
01-01 00:56:58.339: DEBUG/dalvikvm(2270): GC_EXTERNAL_ALLOC freed 1788 objects / 74080 bytes in 77ms
01-01 00:57:49.078: INFO/AudioHardwareALSA(2088): Try to open ALSA PLAYBACK device AndroidPlayback
01-01 00:57:49.089: INFO/AudioHardwareALSA(2088): Initialized ALSA PLAYBACK device AndroidPlayback
01-01 00:57:49.089: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
01-01 00:57:49.089: DEBUG/AudioHardwareALSA(2088): Using 2 channels for PLAYBACK.
01-01 00:57:49.089: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK sample rate to 44100 HZ
01-01 00:57:49.089: DEBUG/AudioHardwareALSA(2088): Buffer size: 4096
01-01 00:57:49.089: DEBUG/AudioHardwareALSA(2088): Latency: 92879
01-01 00:57:49.371: DEBUG/Facebook-WebView(6515): Webview loading URL: https://login.facebook.com/login.php?app_id=139668799384158&iphone&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fapp_id%3D139668799384158%26method%3Dpermissions.request%26display%3Dtouch%26next%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26fbconnect%3D1%26from_login%3D1&refsrc=http%3A%2F%2Ftouch.facebook.com%2Flogin.php
01-01 00:57:49.902: ERROR/AudioHardwareALSA(2088): bufferSize 4096, periodSize 2048
01-01 00:57:49.902: WARN/AudioFlinger(2088): write blocked for 822 msecs, 45 delayed writes, thread 0x2e240
01-01 00:58:01.832: INFO/AudioHardwareALSA(2088): Try to open ALSA PLAYBACK device AndroidPlayback
01-01 00:58:01.839: INFO/AudioHardwareALSA(2088): Initialized ALSA PLAYBACK device AndroidPlayback
01-01 00:58:01.839: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
01-01 00:58:01.839: DEBUG/AudioHardwareALSA(2088): Using 2 channels for PLAYBACK.
01-01 00:58:01.839: DEBUG/AudioHardwareALSA(2088): Set PLAYBACK sample rate to 44100 HZ
01-01 00:58:01.839: DEBUG/AudioHardwareALSA(2088): Buffer size: 4096
01-01 00:58:01.839: DEBUG/AudioHardwareALSA(2088): Latency: 92879
01-01 00:58:02.644: ERROR/AudioHardwareALSA(2088): bufferSize 4096, periodSize 2048
01-01 00:58:02.789: WARN/AudioFlinger(2088): write blocked for 958 msecs, 46 delayed writes, thread 0x2e240
01-01 00:58:07.554: WARN/InputManagerService(2150): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46236ee0
from facebook-android-sdk.
facebook Andoid sdk issue fixed: see my post on http://myunixworld.blogspot.com/2010/11/android-facebook-sdk-issue-fix-for.html
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.