脸书

iOS application using Facebook ― rejected

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: During my app review I received the following: "17.2: Apps that require users to share personal information, such as email address and date of birth, in order to function will be rejected Specifically, your app uses Facebook login for authentication purposes only, but does not include account-based features offered by that site, which is not allowed on the App Store. In order for Facebook to be the only authentication mechanism available, your app must include significant account-specific functionality from Facebook. Pulling profile

Android Studio Gradle error “Multiple dex files define…”

匿名 (未验证) 提交于 2019-12-03 01:19:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: My Project was working fine, when I have added facebook sdk into my project I have an error like this, I have tried so many ways to fix this, but I didn't. What should I do? Error : Execution failed for task ':app:packageAllDebugClassesForMultiDex' . > java . util . zip . ZipException : duplicate entry : bolts / AggregateException . class My App gradle is below apply plugin : 'com.android.application' android { compileSdkVersion 21 buildToolsVersion '21.1.2' defaultConfig { applicationId "com.example.myproject" minSdkVersion 9

Error: Class 'Facebook\\FacebookSession' not found with the facebook PHP SDK

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am having a hard time with facebook's SDK documentation. I downloaded the SDK from Github and added it into my PHP project. Here is the file system: here is my code so far: use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\GraphUser; use Facebook\FacebookRequestException; FacebookSession::setDefaultApplication('*******','******'); $helper = new FacebookRedirectLoginHelper('http://isgeek.eu/fb/FaRepost/return.php'); $loginUrl = $helper->getLoginUrl(); // Use the login url on a link or button to redirect to Facebook

Passport-Facebook authentication is not providing email for all Facebook accounts

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Passport-Facebook authentication. passport.use(new FacebookStrategy({ clientID: 'CLIENT_ID', clientSecret: 'CLIENT_SECRET', callbackURL: "http://www.example.com/auth/facebook/callback" }, function (accessToken, refreshToken, profile, done) { process.nextTick(function () { console.log(profile) }); } )); For some of the Facebook accounts I don't get the email_id and I even tried by using a scope variable such as below, but still I am unable to get the email_id. profileUrl : " " and ProfileFields : ['',''] 回答1: Make sure these two

Authorizing a Facebook Fan Page for Status Updates

匿名 (未验证) 提交于 2019-12-03 01:12:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm able to update the status on my PROFILE wall using this code: require_once 'facebook-platform/php/facebook.php'; $facebook = new Facebook('APP API KEY','APP SECRET KEY'); $user_id = 'MY USER ID'; $facebook->api_client->users_setStatus('This is a new status'); ...after authorizing using this address: http://facebook.com/authorize.php?api_key=MYAPPAPIKEY&v=1.0&ext_perm=publish_stream This code, however, does not work to update the status on my Facebook PAGE Wall. Are there additional parameters that I can add to the authorize.php url to

Facebook Login with Sentry, A password is required for user [email], none given

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to allow users to login using facebook but my user management is based on sentry as you know if you connect from facebook, you wont need a password unless you are creating a account normally. Is there a way to tell sentry( http://docs.cartalyst.com/sentry-2/installation/laravel-4 ) that this is a facebook login and it doesnt require a "password" I tried giving the account a temp password but i receive A hasher has not been provided for the user , even when i hash it. Any advice on this? I'm also using http://maxoffsky

Retrieve facebook user details with using socialite laravel

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using laravel version 5.4.36 and i am using Laravel Sociallite plugin to connect user with facebook. Now i want to get Logged in user information like birth date gender, Address, mobile number or any permissions given in this facebook official document. I have tried following code $facebookScope = [ 'user_birthday', 'user_location', ]; $facebookFields = [ 'name', // Default 'email', // Default 'gender', // Default 'birthday', // I've given permission 'location', // I've given permission ]; return Socialite::driver('facebook')->fields(

Facebook SDK changes to Login in Pop-up view

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am Trying to Login my app with Facebook.For that reason I have Installed Facebook SDK . now Problem is I am trying to start with SAMPLEs code of SDK i.e SessionLoginSample .Problem is, to login Its takes me to the SAFARI to enter credientials.isn't it possible to open the login Page like PopUP View like(image 2)... Image 1 is coming directly (SAFARI ) ..what changes required to open it like (image 2) pop up. - (IBAction)buttonClickHandler:(id)sender { SLAppDelegate *appDelegate = [[UIApplication sharedApplication]delegate]; if (appDelegate

Change Facebook login locale

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an Android app which uses Facebook login using facebook SDK. when I login, the default language is not English. Can anyone help me how to change app locale for login without having to update Facebook SDK code, as I am using facebook sdk's aar file. 文章来源: Change Facebook login locale

Trying to add MultiDex support - cannot find symbol context and MultiDex

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: After following the instructions mentioned at: https://developer.android.com/studio/build/multidex.html#mdex-gradle I am getting an error cannot find symbol class Context variable context and variable MultiDex . package com.mycompany.mypackage; import android.app.Application; import android.util.Log; import com.facebook.react.ReactApplication; import com.slowpath.hockeyapp.RNHockeyAppModule; import com.slowpath.hockeyapp.RNHockeyAppPackage; import com.microsoft.codepush.react.CodePush; import com.facebook.react.ReactInstanceManager; import