android-facebook

Description not shown in Facebook ShareDialog

女生的网名这么多〃 提交于 2019-12-01 08:07:00
I am trying the ShareLinkContent using the ShareDialog from Facebook in my Android App. Following is the code snippet I have used. I have the content title and the description as it is needed for the post. It is fine while is show in the mobile while I try to post it.But When I see the post in the facebook it is different. Hope it is picking it from the google play store. Please help to resolve this s that I can see the description and the tilte that I have set it in the share dialog @Override public void facebookShare(String msg) { if (ShareDialog.canShow(ShareLinkContent.class)) {

Using share dialog in Android Facebook SDK. How to know is user actually shared or cancelled sharing activity?

不羁的心 提交于 2019-12-01 03:09:21
I have added sharing functionality to Android app as described here https://developers.facebook.com/docs/android/share-dialog/#setup But I have noticed that if user is cancelled sharing activity onComplete is called anyway @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); uiHelper.onActivityResult(requestCode, resultCode, data, new FacebookDialog.Callback() { @Override public void onError(FacebookDialog.PendingCall pendingCall, Exception error, Bundle data) { Log.e("Activity", String.format("Error:

Created New Facebook Application for Android publish permission not working.Used Facebook sdk 3.14.xx and samples

旧巷老猫 提交于 2019-12-01 01:13:23
I am using facebook sdk 3.14(latest updated sdk) and created application for android platform like other old applications which i have added same options and everything. i want to use share photo feature for that I am using below code to add publish_actions permission. but permission is not getting updated or granted. ** I have checked with other old application which i have created last month which is working fine with same code photo sharing and all is working , permissions also getting add. But application which i have created today.with that app id I am not able to add permission for

Using share dialog in Android Facebook SDK. How to know is user actually shared or cancelled sharing activity?

会有一股神秘感。 提交于 2019-11-30 22:26:46
问题 I have added sharing functionality to Android app as described here https://developers.facebook.com/docs/android/share-dialog/#setup But I have noticed that if user is cancelled sharing activity onComplete is called anyway @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); uiHelper.onActivityResult(requestCode, resultCode, data, new FacebookDialog.Callback() { @Override public void onError

Created New Facebook Application for Android publish permission not working.Used Facebook sdk 3.14.xx and samples

孤街醉人 提交于 2019-11-30 19:12:00
问题 I am using facebook sdk 3.14(latest updated sdk) and created application for android platform like other old applications which i have added same options and everything. i want to use share photo feature for that I am using below code to add publish_actions permission. but permission is not getting updated or granted. ** I have checked with other old application which i have created last month which is working fine with same code photo sharing and all is working , permissions also getting add

Invalid Key hash facebook android sdk

守給你的承諾、 提交于 2019-11-30 16:19:08
问题 I'm trying to use Facebook Android SDK to develop a simple app with the Facebook Login Button. But i'm having trouble with Key Hashes. I've created both a debug key and a release key:(in mac) Debug key: keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 keytool -exportcert -alias <RELEASE_KEY_ALIAS> -keystore <RELEASE_KEY_PATH> | openssl sha1 -binary | openssl base64 i also tryed this code also public static void showHashKey

Misconfigured App Sorry, myapp hasn't been approved for display in App Center. in android app share

早过忘川 提交于 2019-11-30 12:32:26
When i click on my app name on my facebook. It redirect to " https://www.facebook.com/games/?app_id=827708240586758 " and showing "Misconfigured App Sorry, myapp hasn't been approved for display in App Center." .. I think facebook have implemented some new features. Please help me to get out from this problem. Thanks nikolaDev I had the same problem. You need to submit your app for review on the Status & Review tab (on https://developers.facebook.com/ site) if you want it to be considered for listing in Facebook - App Center. Log in to the https://developers.facebook.com/ site with your

How can i add facebook SDK to android project?

允我心安 提交于 2019-11-30 07:11:00
问题 I'm trying to add facebook SDK to android project but I'm unable to add it, I couldn't do it. My project has one package and there are 8-10 packages in it so where can I add facebook SDK? I searched a lot on the web but couldn't find good solution. 回答1: Following are the steps to include Facebook SDK into android project: 1) Download the Facebook SDK from the https://github.com/facebook/facebook-android-sdk/ and extract it to local drive. 2) Import "facebook" as a android project into your

API calls from the server require an appsecret_proof argument

▼魔方 西西 提交于 2019-11-30 01:16:36
问题 I can't make API requests with the Android Facebook SDK, or even get the user from the login callback - it always returns null. Particularly, with the newMeRequest, I get the following error message: { "error": { "message": "API calls from the server require an appsecret_proof argument", "type": "GraphMethodException", "code": 100 } } Actually, it seems pretty obvious, because the flag is set to true in the Facebook app options. However, I know it is possible, for the mobile sdks, to make API

Creating a class for Facebook SDK 3.0 on Android

蹲街弑〆低调 提交于 2019-11-29 17:54:14
Is it possible to create a class to encapsulate the Android SDK on android? i.e - I don't want to clutter my activity with all the FB sessions and stuff, I want to have a class that I can call and it will do the job. For example, FacebookSDK sdk = new FacebookSDK(); sdk.publish(); For now I couldn't find a way to do this, without using Fragments or cluttering my activity with the facebook code. Many Thank! In short, no. Your activity needs to be notifying the Facebook SDK of lifecycle events in order to properly store state and handle the UI flow to and from the Facebook SDK activities.