mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 05:05:51 +03:00
[GH-ISSUE #507] oauth sign in with facebook app #333
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sandeepk000 on GitHub (Jan 16, 2019).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/507
here is my code
with normal safari browser it is working but not with facebook app.i tried the process mentioned in native app thread which was opened 2 years before nut it didnt work.pls help
let oauthswift = OAuth2Swift(
consumerKey: "167108074192100", // [1] Enter google app settings
consumerSecret: "", // No secret required
authorizeUrl: "https://www.facebook.com/dialog/oauth",
accessTokenUrl: "https://graph.facebook.com/oauth/access_token",
responseType: "token"
)
class NativeAppHandler: OAuthSwiftURLHandlerType {
public static var sharedInstance : NativeAppHandler = NativeAppHandler()
}
I got this message in webview even i want to open facebook app i got this webview only:
Can't Load ULR: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.
@phimage commented on GitHub (Jan 16, 2019):
Please stop posting, you already open an issue with not enough information and you do it again...
Try on stackoverflow or test demo app...