facebook-android-sdk

How to Integrate Facebook Connect with Android

て烟熏妆下的殇ゞ 提交于 2019-11-27 22:03:52
How to integrate Facebook Connect and API with Android Application? emmby The official Facebook SDK for Android is now available here . You can read the Facebook official announcement here . It's still rather rough around the edges. Check this link,it will help u for your queries http://github.com/facebook/facebook-android-sdk/ this may also help http://developers.facebook.com/blog/post/385 Everything you need is here http://developers.facebook.com/docs/mobile/android/build/ Included when you download the SDK, they have an application Hackbook, which has tons of examples. first download from

How to get Facebook photo, full name, gender using Facebook SDK android

风流意气都作罢 提交于 2019-11-27 20:05:51
问题 I am working on an Android application in which any Android user who is logging to Facebook using our Application, I need to extract his photo, his gender, his full name from the Facebook. I am using Facebook SDK for this. With the help of Facebook SDK, I am able to login into Facebook but I am not sure how to extract his photo,gender and full name from the facebook? Below is the code I am using to login into Facebook. I followed this tutorial public class SessionLoginFragment extends

How to send friend request using Facebook dialogs on Android?

白昼怎懂夜的黑 提交于 2019-11-27 19:02:59
问题 I want tot send a friend request using the Facebook Android SDK. I'm currently using this code (which I got from here): Bundle parameters = new Bundle(); parameters.putString("APP_ID","USERNAME"); facebook.dialog(this, "friends", parameters, this); where APP_ID is the Facebook ID of my app and USERNAME is the username of the friend I want to add. This leads to the following error: API Error Code:100 Invalid parameter The parameter id is required I thought the id parameter meant the APP_ID. I

Android invalid key and Facebook Connect

倖福魔咒の 提交于 2019-11-27 18:32:08
When I try to implement Facebook Connect in my Android application, I get the following error. 11-02 16:41:31.660: D/Facebook-authorize(13194): Login failed: invalid_key:Android key mismatch. Your key "8Ioc4p/jMXoU9Lezug4nzmZfFUg" does not match the allowed keys specified in your application settings. Check your application settings at http://www.facebook.com/developers I reset the key in the Facebook App and still it shows the same error. How can I fix it? Your key is: " 8Ioc4p/jMXoU9Lezug4nzmZfFUg " Now copy this key and open this URL , and paste this key in the native Android app, marked

Looking for android Facebook SDK examples [closed]

百般思念 提交于 2019-11-27 17:32:46
I've looked all over the internet and can't seem to find what i'm looking for... I'm just trying to find a site with some examples on how to use the OFFICIAL facebook android SDK http://github.com/facebook/facebook-android-sdk To be specific i'd like to see some examples on notification use and simple photo upload. But i'll take anything to help get a feel for using the SDK. If anyone knows of any examples please share thank you so much! RyanM I asked a similar question a few weeks ago regarding the official Facebook Android SDK and posting content to one's wall ( Android/Java -- Post simple

facebook api version used in facebook android sdk

假如想象 提交于 2019-11-27 16:26:46
问题 I'm getting the following alerts on Facebook Developers: 'MyApp currently has access to Graph API v2.2 which will reach the end of its 2-year lifetime on 27 March, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.3 or higher.' and I'm using Facebook Android SDK 3.23.0. How can I know the version of Graph API used in such Facebook Android SDK? Thank you 回答1: I had the same problem, and annoyingly, I couldn't find anything about this in documentation. You can,

Facebook Integration in Android Application

有些话、适合烂在心里 提交于 2019-11-27 14:55:31
I had integrated facebook in my android application . Generate key using debugkeytool and it works fine on both emulator and real device. Now i have to make release apk file and i had created keystore using eclipse android tool to export signed application package . And using this keystore i had generated new key hash for facebook and set it on facebook developers site. but still i am not able to post on facebook wall after signing my app with my own created keystore. I had check all the steps for creating keystore and it is correct. please help me out of this situation. Thanks I got the same

How to handle facebook like with confirm in android webview

北城以北 提交于 2019-11-27 14:14:52
I am trying to implement facebook like functionality using android webview. It is working fine without "confirm" dialog. But its not working when like needs confirmation. Here is the code snippet i am using. private void setUpWebView() { likeWebView.setVerticalScrollBarEnabled(false); likeWebView.setHorizontalScrollBarEnabled(false); likeWebView.setWebViewClient(new FacebookWebViewClient()); likeWebView.setWebChromeClient(new MyChromeClient()); likeWebView.getSettings().setJavaScriptEnabled(true); String url = getFacebookLikeUrl(); likeWebView.loadUrl(url); } I am also setting ViewClient and

Facebook SDK for Android duplicate support library on dependencies

依然范特西╮ 提交于 2019-11-27 13:53:09
I have implemented the new Facebook SDK 3.0 beta. The library project contains the Android support library v4. I also have the support library on my own proyect (a different version though). When I add the Facebook SDK as a library I get the next error on the console: Jar mismatch! Fix your dependencies Found 2 versions of android-support-v4.jar in the dependency list, but not all the versions are identical (check is based on SHA-1 only at this time). All versions of the libraries must be the same at this time. I've tried to exclude the libs folder on the buildpath, but the error remains. I

Android app Key Hash doesn't match any stored key hashes

一世执手 提交于 2019-11-27 11:34:42
I have an application on production on Play Store which uses a login with the Facebook SDK. When I debug the application from Eclipse there is no problem, but when its on production it gives me the following error after Facebook asks me for the permissions. I have added on my app page on developers.facebook.com the key hash generated with keytool using this command: keytool -exportcert -alias diego -keystore "C:\Users\Diego\Desktop\CeluChat.KeyStore" | "C:\openssl\bin\openssl.exe" sha1 -binary | "C:\openssl\bin\openssl.exe" base64 CeluChat.KeyStore is the keystore I used when I exported the