facebook-ios-sdk

FBFriendPickerDelegate disappeared with Facebook v4

你离开我真会死。 提交于 2019-12-12 03:35:43
问题 I recently updated my iOS app using Facebook v3 to Facebook v4 (with Parse & Parse-UI iOS). Problem is that FBFriendPicker seemed to disappear. Did someone find how to get such feature with the new SDK for iOS ? 回答1: You can replace the Facebook SDK with the latest Facebook SDK 4.x and try the following code. FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init]; content.appLinkURL = [NSURL URLWithString:@"https://fb.me/appId"]; //optionally set previewImageURL content

Cocoa error 3840 Parse Code iOS7 only

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 03:17:44
问题 Background: I decided a couple days ago that I was going to update Facebook SDK to FBSDKCoreKit from Facebook-iOS-SDK v3.24. I updated my Podfile accordingly and installed all libraries fine. I then began updating some of the code to work with the updated SDK spec. After working on it for a short amount of time, I changed my mind and decided to rollback to the old version. I made all necessary cocoapods changes and installs, discarded all local changes in Xcode, recompiled and ran. Everything

Facebook iOS SDK FRAMEWORK_SEARCH_PATH

泪湿孤枕 提交于 2019-12-12 01:36:37
问题 I am using Facebook iOS SDK 3.5 in my ipad App. I added framework, setup everything and everything is working fine. But when I copied my project source code to some other place other than where it is currently and build the project again, I get an XCode Apple Mach-O Linker Warning as directory not found [CURRENT_APPLICATION_PATH]/../../FacebookSDK. After searching for sometime, I found out that in XCode Build Settings, FRAMEWORK_SEARCH_PATHS has a path as "$(SRCROOT)/../../FacebookSDK" which

Know when facebook login button is pressed in ios

蹲街弑〆低调 提交于 2019-12-12 01:32:49
问题 I want to show a HUD when somebody press the facebook login button. Currently I struggle to know when the button was pressed. I tried to grab all taps of the view, but this does not work for any reson on the facebook button... How can know when the facebook login is pressed, to call my HUD? Additional it would be nice to know which function the facebook login button triggers. Could not find out.. Code to grab taps, in LoginViewController.m (UPDATED, working solution) // workaround to find out

Facebook iOS6 integration adds image to album and not separate posts

五迷三道 提交于 2019-12-11 23:16:12
问题 I am trying to post to Facebook from my iOS app using the Social Framework. Using the SLComposeViewController, I have successfully added text and image to a Facebook post SLComposeViewController *postVC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook]; [postVC setInitialText:messageText]; [postVC addImage:[UIImage imageNamed:@"share-this.png"]]; [self presentViewController:composeVC animated:YES completion:nil]; Now, the user of my app can post multiple

iOS app crashed after download from Appstore

本秂侑毒 提交于 2019-12-11 21:26:45
问题 My approved app crashed after it was downloaded from the Appstore. Baring all other circumstances, I am wondering if it's due to the fact that I have yet to get approval from Facebook for using their login mechanism and xmpp chat? Hope someone can verify this? 回答1: No, you built the bug yourself: In your method -[AppDelegate productsRequest:didReceiveResponse:] you are accessing an array with an index out of bounds. Check the system log to see what the actual bad index is. 回答2: After reading

Custom Facebook iOS request dialog with sdk v3.19 and Graph API v2.1

∥☆過路亽.° 提交于 2019-12-11 20:48:07
问题 I'm trying to figure how a custom invite/request dialog can be created in the new Facebook iOS SDK. So far I only found the use of FBWebDialogs to create request dialog but it's not customizable AFAIK. In this sample there is an explanation on how to do that but it doesn't help me because: It's java script API. It talks about the invitable_friends API while "The invitable_friends API is only available for games that have a Facebook Canvas app implementation using version 2.0 of the Graph API"

How to integrate Facebook's mobile ad functionality in our app that supports iOS 4.3+?

白昼怎懂夜的黑 提交于 2019-12-11 15:23:17
问题 I'm trying to get this set up for my company: https://developers.facebook.com/docs/tutorials/mobile-app-ads/ I used the instructions here to get it into our app: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ From my initial attempt to integrate and get data, it seems like this can only work for iOS 6. When I run the app for iOS 6 simulator it runs fine, but for an actual device running iOS 5, it fails during linking: ld: framework not found Social Is it true

Change the default title of FBSDKLoginButton

一个人想着一个人 提交于 2019-12-11 12:22:50
问题 The question is really specific. Is there a way to change the default english title "Log in with Facebook" for the FBSDKLoginButton class? Inside the class implementation I've seen that LoginButton.LogInLong is the key for the string but I had no luck adding the key to my own internationalisation file. Also I've tried to use the title attribute for UIButton on the storyboard but this didn't work. I've found this two methods inside the implementation file of the class: - (NSString *)

iOS Facebook SDK permissions without review

好久不见. 提交于 2019-12-11 10:36:05
问题 In my app, I use FBLoginView with user_events , user_groups and some other permissions. Here what we can read on developers.facebook.com: If your app asks for more than than public_profile, email and user_friends it will require review by Facebook before your app can be used by people other than the app's developers. The time to review your app is usually about 7 business days. Some extra-sensitive permissions, as noted below, can take up to 14 business days. (https://developers.facebook.com