facebook-sdk-4.0

Getting user's Personal info from Facebook in iOS

ぃ、小莉子 提交于 2019-11-27 00:29:48
问题 I am quite new to objective-C and iPhone Development environment. I am implementing Facebook login in my app to get User's name, Email and profile Picture. I have successfully implemented login Part and have received name and User ID of the person. Now i want to get User's Email and Profile Picture from Facebook.But i am not having any Idea how to get it.I am using Facebook IOS SDK v4.0. How can i fetch User's Profile picture and Email Id from Facebook when i am having User ID? 回答1: To get

Facebook SDK 4 for Android - how to log out programmatically

最后都变了- 提交于 2019-11-26 18:52:09
问题 Recently, Facebook released SDK 4 with new and cool updates. I tried to switch into SDK4 to use new features, however, I am struggling with the Login feature of Facebook. So far, to log out Facebook programmatically, I used : Session session = Session.getActiveSession(); session.closeAndClearTokenInformation(); But SDK4 seems not to support Session anymore, and in official docs, they mention: There are two ways to implement Facebook login on Android: LoginButton class - Which provides a

Android Facebook 4.0 SDK How to get Email, Date of Birth and gender of User

[亡魂溺海] 提交于 2019-11-26 16:52:47
I am using the following code. I want the user's Date Of Birth, Email and Gender. Please help. How to retrieve those data? This is my onViewCreated() inside the Fragment. @Override public void onViewCreated(View view, Bundle savedInstanceState) { // Setup TextView. mTextDetails = (TextView) view.findViewById(R.id.text_details); // Set up Login Button. LoginButton mButtonLogin = (LoginButton) view.findViewById(R.id.login_button); // setFragment only if you are using it inside a Fragment. mButtonLogin.setFragment(this); mButtonLogin.setReadPermissions("user_friends"); mButtonLogin

Could not build module 'FBSDKCoreKit' For FacebookSDK 4

独自空忆成欢 提交于 2019-11-26 16:05:24
问题 I am having issue while updating Facebook SDK 3 to 4 when I add the framework it was added successfully. but when i add header file it's having the error that " Could not build module 'FBSDKCoreKit' " . Don't know the reason. 回答1: In setting the "Allow Non-modular Includes in Framework modules" setting to YES in Build settings solved the problem for me. but don't know if is there any problem or issue or any side effects of it. Its Facebook Bug you can check the solution they are providing in

How to logout user using Facebook authentication using Swift and iOS?

五迷三道 提交于 2019-11-26 12:46:12
问题 I\'ve tried searching around but I can\'t find the answer to my question. I\'m playing around with this application from github: https://github.com/Yalantis/Koloda/tree/master/Example I\'m using it because I\'m doing a project which will use the tile based swiping from this application. I\'m also using firebase. So far, I can add users to my database, so the app and firebase are connected. I also want users to register/login using facebook. I have connected my app to facebook and a user can

Custom Facebook Login Button - Android

你。 提交于 2019-11-26 11:12:28
I''m following this Tutorial but so far I can't make it work, though this is from a year ago or so... I'm using androidStudo 1.2.2 and FacebookSDK 4. I want a simple login into facebook using a custom button, like the one shown in this image: Now, in the example from the tutorial I'm having problems with the Session variable, it says it cannot resolve it, neither getActivity() Has naybody tried this on FacebookSDK4.0? Is that a correct approach or maybe there is something more updated? Thanks in advance! Harvi Sirja Step 1: First add FrameLayout and make facebook button visibility="gone" and

Android Facebook 4.0 SDK How to get Email, Date of Birth and gender of User

末鹿安然 提交于 2019-11-26 06:04:28
问题 I am using the following code. I want the user\'s Date Of Birth, Email and Gender. Please help. How to retrieve those data? This is my onViewCreated() inside the Fragment. @Override public void onViewCreated(View view, Bundle savedInstanceState) { // Setup TextView. mTextDetails = (TextView) view.findViewById(R.id.text_details); // Set up Login Button. LoginButton mButtonLogin = (LoginButton) view.findViewById(R.id.login_button); // setFragment only if you are using it inside a Fragment.

Custom Facebook Login Button - Android

懵懂的女人 提交于 2019-11-26 02:18:47
问题 I\'\'m following this Tutorial but so far I can\'t make it work, though this is from a year ago or so... I\'m using androidStudo 1.2.2 and FacebookSDK 4. I want a simple login into facebook using a custom button, like the one shown in this image: Now, in the example from the tutorial I\'m having problems with the Session variable, it says it cannot resolve it, neither getActivity() Has naybody tried this on FacebookSDK4.0? Is that a correct approach or maybe there is something more updated?

Android Facebook SDK 4 in Eclipse

放肆的年华 提交于 2019-11-26 00:52:41
问题 Are there some way to import the new Facebook SDK for Android to Eclipse without Gradle or Maven (something like the past way)? I\'ve been watching some pages but i don\'t find a the way. Thanks 回答1: I also have faced this problem, so I will write a short guide, how to install it in Eclipse. Step 1. Import to Eclipse First of all, download the latest version of SDK (on current moment it is 4.0). Unzip it to a folder. Open Eclipse, click the right mouse button in "PackageExplorer" and choose

Android Facebook SDK 4 in Eclipse

﹥>﹥吖頭↗ 提交于 2019-11-25 19:01:55
Are there some way to import the new Facebook SDK for Android to Eclipse without Gradle or Maven (something like the past way)? I've been watching some pages but i don't find a the way. Thanks I also have faced this problem, so I will write a short guide, how to install it in Eclipse. Step 1. Import to Eclipse First of all, download the latest version of SDK (on current moment it is 4.0). Unzip it to a folder. Open Eclipse, click the right mouse button in "PackageExplorer" and choose "Import" . After that, go to "Android" -> "Existing Android Code Into Workspace" . Now click "Browse" and