facebook-sdk-4.x

Exclude one class file in gradle Android Studio

*爱你&永不变心* 提交于 2019-11-29 05:21:52
In my projects, I need to import third party jar file and Facebook SDK. compile files('libs/SkinSDK.jar') compile 'com.facebook.android:facebook-android-sdk:4.14.0' Both include same BundleJSONConverter class. So, I cannot do generate signed APK. It always shows duplicate entry com/facebook/internal/BundleJSONConverter. So, I want to exclude in Facebook or SkinSDK.jar. I tried like compile ('com.facebook.android:facebook-android-sdk:4.14.0') { exclude group: 'com.facebook.internal', module: 'BundleJSONConverter' } It's not working and showing same error. The exclude method of the configuration

Facebook App Invites is deprecated

强颜欢笑 提交于 2019-11-29 01:07:19
问题 As the latest release of Facebook SDK version 4.28.0 - November 7, 2017 , App Invites is deprecated. https://developers.facebook.com/docs/app-invites/android/ With the release of the Facebook SDK version 4.28.0, App Invites is deprecated. It will be supported until February 5, 2018. It makes the AppInviteDialog not working as expected (show white screen instead of list friends - Facebook app is not installed in the device), even I decreased Facebook SDK version to 4.27.0 or lower). I tried to

FBSDKShareDialog of Facebook SDK is not working on iOS9?

天大地大妈咪最大 提交于 2019-11-28 21:57:38
With Xcode7, I upgrade Facebook SDK to pod FBSDKShareKit (4.6.0). And I have added Facebook scheme to WhiteList as below. reference: https://developers.facebook.com/docs/ios/ios9 <key>LSApplicationQueriesSchemes</key> <array> <string>fbapi</string> <string>fb-messenger-api</string> <string>fbauth2</string> <string>fbshareextension</string> </array> However, the following code only show iOS default social dialog on iOS9. The same code with the same binary on iOS8 can open Facebook app and show the Sharing Dialog properly. FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];

Exclude one class file in gradle Android Studio

99封情书 提交于 2019-11-27 22:42:17
问题 In my projects, I need to import third party jar file and Facebook SDK. compile files('libs/SkinSDK.jar') compile 'com.facebook.android:facebook-android-sdk:4.14.0' Both include same BundleJSONConverter class. So, I cannot do generate signed APK. It always shows duplicate entry com/facebook/internal/BundleJSONConverter. So, I want to exclude in Facebook or SkinSDK.jar. I tried like compile ('com.facebook.android:facebook-android-sdk:4.14.0') { exclude group: 'com.facebook.internal', module:

Facebook Android SDK 4.5.0 get email address

与世无争的帅哥 提交于 2019-11-27 17:51:01
I'm currently creating a test application to test using the latest facebook SDK to update our existing application problem is that I need to get the email address which I know depends if the user has provided one on his account. Now the account I'm using to test provides one for sure but for unknown reason the facebook SDK only provides the user_id and the fullname of the account and nothing else. I'm confused on this since the the SDK3 and above provides more information than the updated SDK4 and I'm lost on how to get the email as all the answers I've seen so far doesn't provide the email on

Facebook Android SDK 4.5.0 get email address

倾然丶 夕夏残阳落幕 提交于 2019-11-26 19:12:23
问题 I'm currently creating a test application to test using the latest facebook SDK to update our existing application problem is that I need to get the email address which I know depends if the user has provided one on his account. Now the account I'm using to test provides one for sure but for unknown reason the facebook SDK only provides the user_id and the fullname of the account and nothing else. I'm confused on this since the the SDK3 and above provides more information than the updated