最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

facebook分享

维修 admin 26浏览 0评论

facebook分享

无法拉起分享 "code":30000,"msg":"fail:API_ERROR: API_ERROR"

1.确认facebook的app_id是否一致

2.确认是否在app_id应用的白名单里,注册meta开发者,然后把主页的user_id给管理员加

A ContentProvider for this app was not set up in the AndroidManifest.xml, please add com.facebook.app.FacebookContentProvider xxxxxxxxxxxx

        <!--facebook相关--><meta-dataandroid:name="com.facebook.sdk.ApplicationId"android:value="@string/facebook_app_id" /><meta-dataandroid:name="com.facebook.sdk.ClientToken"android:value="@string/facebook_client_token" /><activityandroid:name="com.facebook.CustomTabActivity"android:exported="true"><intent-filter><action android:name="android.intent.action.VIEW" /><category android:name="android.intent.category.DEFAULT" /><category android:name="android.intent.category.BROWSABLE" /><data android:scheme="@string/fb_login_protocol_scheme" /></intent-filter></activity><!-- 分享配置 --><activityandroid:name="com.facebook.FacebookActivity"android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"android:label="@string/app_name" /><!-- If you're sharing links, images or video via the Facebook for Android app, you also need to declarethe FacebookContentProvider in the manifest. --><providerandroid:name="com.facebook.FacebookContentProvider"android:authorities="com.facebook.app.FacebookContentProvider${applicationId}"android:exported="true" /><!--facebook相关-->

facebook分享

无法拉起分享 "code":30000,"msg":"fail:API_ERROR: API_ERROR"

1.确认facebook的app_id是否一致

2.确认是否在app_id应用的白名单里,注册meta开发者,然后把主页的user_id给管理员加

A ContentProvider for this app was not set up in the AndroidManifest.xml, please add com.facebook.app.FacebookContentProvider xxxxxxxxxxxx

        <!--facebook相关--><meta-dataandroid:name="com.facebook.sdk.ApplicationId"android:value="@string/facebook_app_id" /><meta-dataandroid:name="com.facebook.sdk.ClientToken"android:value="@string/facebook_client_token" /><activityandroid:name="com.facebook.CustomTabActivity"android:exported="true"><intent-filter><action android:name="android.intent.action.VIEW" /><category android:name="android.intent.category.DEFAULT" /><category android:name="android.intent.category.BROWSABLE" /><data android:scheme="@string/fb_login_protocol_scheme" /></intent-filter></activity><!-- 分享配置 --><activityandroid:name="com.facebook.FacebookActivity"android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"android:label="@string/app_name" /><!-- If you're sharing links, images or video via the Facebook for Android app, you also need to declarethe FacebookContentProvider in the manifest. --><providerandroid:name="com.facebook.FacebookContentProvider"android:authorities="com.facebook.app.FacebookContentProvider${applicationId}"android:exported="true" /><!--facebook相关-->

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论