All Questions
911
questions
413
votes
4
answers
50k
views
Design for Facebook authentication in an iOS app that also accesses a secured web service
Goal:
Allow a user to authentication with Facebook into an iOS application which requires access to a protected web service that I'm running.
Assumptions:
There is a native authentication (and ...
205
votes
12
answers
269k
views
How to segue programmatically in iOS using Swift
I'm creating an app that uses the Facebook SDK to authenticate users. I'm trying to consolidate the facebook logic in a separate class. Here is the code (stripped for simplicity):
import Foundation
...
65
votes
11
answers
181k
views
Open a facebook link by native Facebook app on iOS
If the native Facebook app is installed on the iPhone. How do I open a facebook link into the native Facebook app from my app. In the case of opening by Safari, the link is same as:
http://www....
48
votes
3
answers
42k
views
iOS: How to share text and image on social networks?
Please, can you tell me if I'm doing mistakes?
NSString *sharedMsg=[NSString stringWithFormat:@"Hello world"];
UIImage* sharedImg=[UIImage imageNamed:@"image"];
NSArray* sharedObjects=[NSArray ...
37
votes
7
answers
27k
views
Facebook SDK 3.1 - Error validating access token
I'm trying to transition my app to the new Facebook SDK 3.1 (with support for iOS6 authentication).
I had it working just fine, so I then decided to remove the app from my list of authorized apps on ...
37
votes
9
answers
29k
views
iOS 9 Facebook login simulator -canOpenURL: failed for URL: "fbauth2:///" - error: "(null)"
I've updated to Xcode 7 and the latest iOS SDK. I've added the appropriate entries in my app's plist:
My app's Facebook login works fine on device. However, on iOS 9 simulator, I'm getting:
-...
16
votes
4
answers
13k
views
unable to get the access token through [FBSDKAccessToken currentAccessToken] in iphone sdk
I am creating a facebook app. I have implemented the login using class FBSDKLoginManager. At first time when i login the facebook, success block return the FBSDKLoginManagerLoginResult object which ...
6
votes
6
answers
11k
views
How to integrate Facebook without redirect Safari browser in iOS app with latest FBSDK
Hi i am search the answer for avoid new facebooksdk redirect to safari.how to open facebook login view inside the app.if it redirect to safari may reject in app store? help me.. thanks in advance
46
votes
5
answers
27k
views
iOS 6 Facebook posting procedure ends up with "remote_app_id does not match stored id"
This is my third question about posting on Facebook.
Although this may be a duplicate of Mac OS X Facebook login failed - no stored remote_app_id for app but I decided to post separate question ...
22
votes
5
answers
27k
views
Like button in iOS application
Does anybody know how to place Facebook "like" button into iOS application? I've tried the method described in this blog post. But I do not really like this method, because its ugly Login dialog. And, ...
11
votes
4
answers
19k
views
-canOpenURL: failed for URL: "fbauth2:/" (OSStatus error -10814.)"
i'm adding Facebook and Google signup in my application but i have this issue
The operation couldn’t be completed. -10814
in the Facebook login and i don't know how to solve it, this is my app ...
140
votes
11
answers
286k
views
App not setup: This app is still in development mode
I have followed the instructions here:
The developers of this app have not set up this app properly for Facebook Login?
Made my app public and the circle is green so the app is public.
But when I try ...
65
votes
10
answers
24k
views
Facebook SDK login never calls back my application on iOS 9
I've followed this guide to update my application to use Facebook SDK 4.6 to work properly when built with the iOS 9 SDK.
When I tap the login button now, a Safari view controller gets presented (...
23
votes
4
answers
14k
views
app rejected because of advertisingIdentifier in Facebook SDK and Flurry SDK
My app was rejected because of advertisingIdentifier in Facebook sdk and Flurry SDK ! I found an occurrence of advertisingIdentifier in the latest Facebook SDK (3.12) and Flurry SDK. Maybe you can ...
6
votes
2
answers
6k
views
swift 3: Type 'Any?' has no subscript members
I keep getting this error for my graph requests??
Type 'Any?' has no subscript members
the error points at result.... this only happened when I converted to swift 3... anybody????
let ...