FRANCE GAME Index du Forum
Null Error On Facebook For Android

Répondre au sujet    FRANCE GAME Index du Forum » Règle de vie » Patch Sujet précédent
Sujet suivant
Null Error On Facebook For Android
Auteur Message

Hors ligne

Inscrit le: 08 Mai 2016
Messages: 143
Localisation: Nantes
Point(s): 711
Moyenne de points: 4,97

Message Null Error On Facebook For Android Répondre en citant

Null Error On Facebook For Android

TwisterMcBlog on a StickAll PostsWordPressWeb Design & DevelopmentReviewSoftwareWeatherMorePhotosDaddy BlogMommy BlogCreationsExposureSkills Thomas McMahon Senior Software EngineerFix the HTC/Droid Null Error in Facebook Android8 Dec, 20100When I got my Droid Incredible a few weeks back, it came with Facebook pre-installed. Home Favorites Menu Android Forums Home Android Forums - Error The requested page could not be found. Buffett successors? . but YMMV). All Rights Reserved. –user1140656 Jan 22 '14 at 0:52 add a comment up vote 0 down vote I was getting the same error,google'd lot of things and finally this is what I did to get away from that error private void getHashKey() { PackageInfo info; try { info = getPackageManager().getPackageInfo("YourPackageName", PackageManager.GETSIGNATURES); for (Signature signature : info.signatures) {MessageDigest md; md = MessageDigest.getInstance("SHA"); md.update(signature.toByteArray()); //String something = new String(Base64.encode(md.digest(), 0)); String something = new String(Base64.encode(md.digest(),0)); Log.e("** Hash Key", something); } } catch (NameNotFoundException e1) { Log.e("name not found", e1.toString()); } catch (NoSuchAlgorithmException e) { Log.e("no such an algorithm", e.toString()); } catch (Exception e){ Log.e("exception", e.toString()); } } So,I used the HashKey generated by this code,and updated it in my facebook developer console. –Tony Oct 11 '13 at 2:01 Tony - Tomorrow, I will post the code snippet that works fine on my App (I feel annoyed to tell this. To make it worse, it doesnt auto-update either.To fix, just go into the Android Market, search for Facebook and install it. Leading US delegation . NC must redo districts . more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Log In Sign Up . Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Not to mention itll look nicer.There are over 500 messages on Facebook regarding this error. There was no rhyme or reason either and it didnt happen all the time.AN ERROR HAS OCCURRED WHILE FETCHING DATA (NULL)Turns out, HTC doesnt have the latest version of Facebook installed on their phones. Stack Overflow Questions Jobs Developer Jobs Directory Salary Calculator Help Mobile Stack Overflow Business Talent Ads Enterprise Company About Press Work Here Legal Privacy Policy Contact Us Stack Exchange Network Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Software Engineering Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint User Experience Mathematica Salesforce ExpressionEngine Answers Stack Overflow em Portugus Blender Network Engineering Cryptography Code Review Magento Software Recommendations Signal Processing Emacs Raspberry Pi Stack Overflow Programming Puzzles & Code Golf Stack Overflow en espaol Ethereum Data Science Arduino Bitcoin more (26) Photography Science Fiction & Fantasy Graphic Design Movies & TV Music: Practice & Theory Worldbuilding Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia Law more (16) English Language & Usage Skeptics Mi Yodeya (Judaism) Travel Christianity English Language Learners Japanese Language Arqade (gaming) Bicycles Role-playing Games Anime & Manga Puzzling Motor Vehicle Maintenance & Repair more (32) MathOverflow Mathematics Cross Validated (stats) Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more (10) Meta Stack Exchange Stack Apps API Data Area 51 Blog Facebook Twitter LinkedIn site design / logo 2018 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required. This solved my problem.Probably,some issues with windows keygen or the android keystore And also,do check your file from Facebook Sdk at line 820 addLoggingExtra(EVENTEXTRASPROTOCOLVERSION,"" + intent.getIntExtra(NativeProtocol.EXTRAPROTOCOLVERSION, 0)); I made it to "getIntExtra",where they had it as "getStringExtra". Bans foreign adoptions . Stack Overflow works best with JavaScript enabled .. settles suit . Home Favorites Menu Search titles only Newer Than: More. Check your code, Make sure, you have these things on Manifest.xml And string/appid should contain the appid that you get from your facebook app configuration details. The default value was returned. Itll thenupdateyour Facebook app and fix the issue. Android Forums Home . 09-03 19:26:22.736: W/Bundle(17458): Attempt to cast generated internal exception: 09-03 19:26:22.736: W/Bundle(17458): java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String 09-03 19:26:22.736: W/Bundle(17458): at android.os.Bundle.getString( 09-03 19:26:22.736: W/Bundle(17458): at android.content.Intent.getStringExtra( 09-03 19:26:22.736: W/Bundle(17458): at com.facebook.AuthorizationClient$KatanaLoginDialogAuthHandler.tryAuthorize( 09-03 19:26:22.736: W/Bundle(17458): at com.facebook.AuthorizationClient.tryCurrentHandler( 09-02 22:55:04.110: E/AndroidRuntime(13287): FATAL EXCEPTION: main 09-02 22:55:04.110: E/AndroidRuntime(13287): java.lang.RuntimeException: Unable to resume activity {com.good.amrfbintegration/ com.facebook.LoginActivity }: java.lang.NullPointerException 09-02 22:55:04.110: E/AndroidRuntime(13287): at 09-02 22:55:04.110: E/AndroidRuntime(13287): at 09-02 22:55:04.110: E/AndroidRuntime(13287): at Here is what I have done so far Updated the App on Facebook with the following information (I have used the hashkey generated using my machine's debug keystore) Here are the relevant info from my manifest file (string/appid is the App Id from facebook dev portal) I added a reference to the Facebook SDK to my project in this way Here is the code in my OnCreate method of the main activity Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activitymain); activity = this; Session.openActiveSession(this, true, new Session.StatusCallback() { Override public void call(Session session, SessionState state, Exception exception) { if (session.isOpened()) { Toast.makeText(activity, "Connected to Fb", Toast.LENGTHSHORT).show(); } }}); } Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Session.getActiveSession().onActivityResult(this, requestCode, resultCode, data); } On executing the Session.openActiveSession, logcat display the error shown in my first screenshot. Learn more, including about available controls: Cookies Policy.FacebookJoin or Log Into Facebook Email or PhonePasswordForgot account?Log InDo you want to join Facebook?Sign UpSign UpThis page isn't availableThe link you followed may be broken, or the page may have been removed.Go back to the previous page Go to News Feed Visit our Help CenterEnglish (US)NederlandsFryskPolskiTrkeDeutschFranais (France)EspaolPortugus (Brasil)ItalianoSign UpLog InMessengerFacebook LiteMobileFind FriendsPeoplePagesPlacesGamesLocationsCelebritiesMarketplaceGroupsRecipesSportsLookMomentsInstagramLocalAboutCreate AdCreate PageDevelopersCareersPrivacyCookiesAd ChoicesTermsHelpSettingsActivity Log Facebook 2018. .. So make sure - your key hash is correct You have configured app correctly on web, and taken care of putting the app id in your app configuration. Download our Official Android App: Forums for Android! . Email Sign Up or sign in with Google Facebook Facebook Android SDK & java.lang.NullPointerException Ask Question up vote 11 down vote favorite 5 I am having trouble opening an active facebook session in my android app as per the tutorial posted at I have been struggling with this for quite some time now without any luck! I will be glad if one of you would point me in the right direction! (I bet the error is with some setup on my side, but I am unable to spot it) Here is the error I am seeing after calling Session.openActiveSession(this, true, new Session.StatusCallback() in the onCreate of my activity (I am pretty much following the steps given in facevook developer tutorials) EDIT : The following warning message is logged first and followed by the error message in the subsequent screen shot 09-03 19:26:22.726: W/Bundle(17458): Key com.facebook.platform.protocol.PROTOCOLVERSION expected String but value was a java.lang.Integer. Hope it is gonna work for you too. Yes, my password is: Forgot your password? Stay logged in Toggle Width Copyright 2018 Android Forums. My problem was that the Facebook app was in sandbox mode. 1% of Wahlberg's pay 5a02188284
facebook send button html codefacebook fan seite mehr likesfacebook scraps for friendship daygame apps facebookpikachu on facebook chatremove group chat on facebooksign in login facebookandroid find facebook passwordhow to turn off likes on facebookcara buat icon di chat facebook

Mer 10 Jan - 20:10 (2018)

Message Publicité
PublicitéSupprimer les publicités ?

Mer 10 Jan - 20:10 (2018)
Montrer les messages depuis:    
Répondre au sujet    FRANCE GAME Index du Forum » Règle de vie » Patch Toutes les heures sont au format GMT + 2 Heures
Page 1 sur 1

Sauter vers: 

Index | Creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.Traduction par :