importcom.facebook.FacebookSdk;importcom.facebook.appevents.AppEventsLogger;publicclassMainActivityextendsAppCompatActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);FacebookSdk.sdkInitialize(getApplicationContext());AppEve...
importcom.facebook.appevents.AppEventsLogger;// 设置用户属性AppEventsLoggerlogger=AppEventsLogger.newLogger(this);logger.setUserData("email","user@example.com");logger.setUserData("first_name","John");logger.setUserData("last_name","Doe");logger.setUserData("gender","male");logger.setUserData...
repositories{mavenCentral()}5.将 compile'com.facebook.android:facebook-android-sdk:[4,5)'添加到 build.gradle 依赖项: dependencies{compile'com.facebook.android:facebook-android-sdk:[4,5)'}6.构建项目。7.导入 Facebook SDK:importcom.facebook.FacebookSdk;importcom.facebook.appevents.AppEventsLog...
Facebook Lite also helps you keep up with the latest news and current events around the world. Subscribe to your favorite celebrities, brands, websites, artists, or sports teams to follow their News Feeds from the convenience of your Facebook Lite app!
Find the best free apps like Facebook for Android. More than 16 alternatives to choose: Facebook Lite, My Business, Discourse and more
2.1.1 安卓设备 (For Android Devices) 打开Google Play商店。 在搜索栏中输入“Facebook”。 找到官方的Facebook应用程序,点击“安装”按钮。 等待下载和安装完成后,点击“打开”即可开始使用。 2.1.2 苹果设备 (For Apple Devices) 打开App Store。
@OverridepublicvoidonCreate(){super.onCreate();FacebookSdk.sdkInitialize(getApplicationContext());AppEventsLogger.activateApp(this);} eummm...这个要收费 果断不用 logger.logPurchase(BigDecimal.valueOf(4.32),Currency.getInstance("USD")); 屏幕快照 2019-01-02 下午11.17.29.png ...
●把App ID和Display Name(显示名称)记录下来 ● 前往App Details(应用详情) ● 增加标识(像素为1024x1024) Facebook SDK安装+检查全教程(安卓版) 安卓版Facebook SDK的安装步骤 第一步:下载文件 ● 下载安卓版SDK 下载链接: https://developers.facebook.com/docs/android ...
// Add the bundle FB integration SDK// Set data processing values.SEGFacebookAppEventsIntegrationFactory*fb=[SEGFacebookAppEventsIntegrationFactoryinstance];[fbsetDataProcessingOptions:@[@"LDU"]forCountry:1forState:1000];[configuse:fb]; Android and iOS Cloud Mode ...
AppEventsLogger.activateApp(this); } } (2),新建LoginActivity接入FB SDK代码 publicclassLoginActivityextendsActivity {privatestaticfinalString PERMISSION = "public_profile";privatestaticfinalintPICK_PERMS_REQUEST = 0;privateCallbackManager callbackManager;@OverrideprotectedvoidonCreate(finalBundle savedInstance...