I am unable to login with facebook in my iOS app. I had thoroughly studied the Facebook api and followed the all instructions given by facebook api at developers.facebook.com site. I am able to authenticate but it is not logging in to my app. It says that Safari cannot open the page because address is invalid. I am new to iOS please help me. Thank you in advance.
You seem to have skipped the part of tutorial where you add a custom url scheme to your app. Without that, Safari can't send the user back to your app once they are authenticated.
Checkout Ray Wenderlich's tutorial on this:
How To Post on Facebook with Your iPhone App
http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app
Related
We have integrated login with twitter using Firebase. We have followed all the steps as mentioned in https://firebase.google.com/docs/auth/ios/twitter-login
However when we call that method a webview is opening in iOS instead of Twitter app. Is there any way we can force to open the app if app is installed? I have already added twitter and twitterauth to LSApplicationQueriesSchemes in the Info.plist. But none works. Any suggestions will help us. Thanks
There is a similar question asked here but no answers, so asking again Firebase login with Twitter account is opening browser instead of the Twitter app
I´ve seen some Facebook posts that include a native button which opens the corresponding app to the Facebook page that created the post.
When the app is not installed, it links out to the App Store. When it is installed, it deeplinks into the app to the desired content.
How can I achieve this? I searched for some information about this, but couldn´t find any.
you have to try the App Links functionality that Facebook provide. In the developer page teach how to create and use this and you will see the flow when somebody press a post for example and how the redirection is produced:
https://developers.facebook.com/docs/applinks/ios
You have to create an app in the Facebook Developer Console and enable de deep-linking function to works.
Regards!
I'm fairly new to iOS Development and trying to use Facebook SDK for authentication for my app. I have done the integrations and whenever I click on the Login with Facebook button it opens a browser window in the app for authentication. How do I redirect the user to the inbuilt Facebook app which the user uses instead of a browser window if facebook is installed on the phone.
In iOS9 it is not possible switch with Facebook netive app .. For that you should try out other older version of Facebook sdk.
Please check below link.
https://developers.facebook.com/bugs/786729821439894/?search_id
Hope this will help you.
Link for Facebook sdk try it.
https://developers.facebook.com/resources/FacebookSDKs-iOS-20150708.pkg
I am quite new to iOS and i am trying to post something from my App on salesforce(like we share something on twitter). For that i want to first display the login screen if user is already not logged in and if user is logged in he can post on salesforce from my app. Please guide me to a tutorial or some sample code. i have done a hell lot of searching on web but didn't find any good tutorial. i have already added the SDK to my project but not able to figure out how implement all this.
Thank you.
what about this : SalesForce on iOS login without using the SalesForce Webview?
The post point to SFDC API for iPhone. May be you will found what you need.
iam somehow new to all the Facebook app and sites stuff.
What I have:
- A Facebook Side bulid from my acoount with around 50 Likes and some posts
- A Facebook App for my iOS App with will rock the AppStore next week :-)
I now realised, that I can have an App Site. So All posts done from the App will link to this site.
So the big question is: How to connect my App with the Site?
The only way I can see is to genarate an new Site out off the App and start at Zero. So please Help me
Thanks!
I have to do a little interpretation here:
I guess with "Facebook Side" you mean a Facebook Page - correct me if I'm wrong.
You can create an App Detail Page for your existing Facebook iOS App. I guess that is what you mean by "App Site".
How to connect my App with the Site?
Your Facebook iOS App will be connected to the App Detail Page automatically, so I guess your question is how to connect your Facebook Page with your Facebook App, right? If this is the case, then you might want to also create a Facebook Page Tab for your existing Facebook App. Here is the Facebook tutorial on how it can be done:
https://developers.facebook.com/docs/appsonfacebook/pagetabs/