facebook-ios-sdk

Facebook SDK iOS invite user without FBWebDialogs

拜拜、爱过 提交于 2019-12-20 09:49:36
问题 I want to get list of my friends from Facebook who are not users of my app, and be able to invite them. Using FBWebDialogs I can pick users, but I'm wondering how foursquare did it? Screenshot: 回答1: There is option of frictionless requests . On Facebook developer site they mentioned in section of Invites and Requests We touched on a scenario where users exchange requests back and forth. If this scenario is typical in your game, it can be a bad user experience to force them through the request

Generate simulator build

坚强是说给别人听的谎言 提交于 2019-12-20 09:45:00
问题 I am working on an app that needs data from a Facebook app. Facebook want a release simulator build. I have followed FB's instruction to the letter but when i try to build the simulator package xcodebuild -arch i386 -sdk iphonesimulator7.1 i get the following error: ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) ** BUILD FAILED ** The following build commands failed: Ld build/Release-iphonesimulator/Olabord.app/Olabord normal

New iOS App struggling with Facebook Graph api v2.0

早过忘川 提交于 2019-12-20 04:16:20
问题 I'm new to app development, and I've been building a social iOS app that requires sending Facebook invites to join the app. Yesterday's release of Facebook Graph API 2.0 seems to have much stricter requirements on how to invite those not already part of the game. I'm trying to activate me/invitable_friends but I keep getting the same message: { "error": { "message": "(#15) This method is only accessible to Games.", "type": "OAuthException", "code": 15 } Their documentation mentions needing to

ios facebook sdk v3.11 share dialog post button disabled

时间秒杀一切 提交于 2019-12-20 03:19:07
问题 I was following the tutorial for facebook sdk for ios, specially using open graph to attach an image and tag friends (which social framework can't do directly). So I was following this tutorial and this sample app, FBOGSampleSD. https://developers.facebook.com/docs/ios/open-graph#sharedialog However my post button in the share dialog is always disabled. (grey out) Has anyone encountered this before? I am working with Xcode 5 and testing on ios7 device. Regards, Jin 回答1: I think I figure this

Facebook SDK share always returns sharerDidCancel [duplicate]

走远了吗. 提交于 2019-12-20 03:17:37
问题 This question already has answers here : FBSDKShareDialog cancels when it should post (4 answers) Closed 4 years ago . I'm trying to share a post with the Facebook SDK, but sharerDidCancel is always called, either if I share or cancel the post. Here is my code - (void)shareFacebook { FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init]; content.contentURL = [NSURL URLWithString:@"http://www.google.com"]; [FBSDKShareDialog showFromViewController:view withContent:content

Request ID is not available when App Launches after clicking Facebook notification

自古美人都是妖i 提交于 2019-12-19 11:32:13
问题 A Facebook app is setup with iOS native app enabled with bundle id and App Store Id of another app. Following are possible in the current scenario. 1.Sending an app request to a friend, 2.The request badge appears in the friend's Facebook, 3. And clicking on the request launches my app. This was the link i referred to implement this. https://developers.facebook.com/docs/howtos/send-requests-using-ios-sdk/#protip3 I am supposed to get a NSURL from these functions – application:openURL

Facebook App Invites iOS v4 SDK error

怎甘沉沦 提交于 2019-12-19 09:08:03
问题 I've double checked everything, from my understanding this is all I need to do: self.inviteContent = [[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:@"http://mywebsite.com"]]; [FBSDKAppInviteDialog showWithContent:self.inviteContent delegate:self]; On mywebsite.com I have this in the heading (example values shown here): <html> <head> <title>My Website</title> <meta property="al:ios:url" content="appurl://action"> <meta property="al:ios:app_store_id" content="1234567">

Choosing 'Not Now' when accepting app causes “com.facebook.sdk error2”

你。 提交于 2019-12-18 13:37:39
问题 Using Facebook iOS SDK 3.1. When choosing not to allow a 'Connect' to a Facebook app, I'm stuck with Facebook throwing "com.facebook.sdk error2." errors at me, even after re-installing my app. Steps to reproduce: Choose to connect with Facebook Select 'Not Now' in the UIAlertView that pops up => I can't choose to connect again. The only way for the user to connect again is to remove her Facebook account from Settings and add it again. Is this a bug in the Facebook SDK or am I missing

Cocoapods use_frameworks! import issue

白昼怎懂夜的黑 提交于 2019-12-18 12:48:16
问题 I want to use some Swift pods in my Objective-C app, so I need to use frameworks instead of static libraries. But enabling use_frameworks! in my Podfile causes tones of #import errors. My Podfile: platform :ios, '8.0' use_frameworks! pod 'AFNetworking', '2.6.0' pod 'Typhoon' pod 'SSKeychain' pod 'JBWebViewController' pod 'TTTAttributedLabel' pod 'HockeySDK' pod 'GoogleAnalytics' pod 'Intercom' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' pod 'UIButton+Activity' pod 'HexColors' pod

Facebook iOS SDK 3.1 with XCode 4.2 linker errors

佐手、 提交于 2019-12-18 12:12:40
问题 I've just updated the Facebook iOS SDK in my project from 3.0 to 3.1. The project does not compile anymore. Instead I get the following linker errors: Undefined symbols for architecture i386: "_ACFacebookAppIdKey", referenced from: -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in FacebookSDK(FBSession.o) "_ACFacebookAudienceEveryone", referenced from: -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience