how to `gain access to the mobile Uber site`? error with Deep linking for Mobile Web - uber-api

I am following the docs for deep linking here:
https://developer.uber.com/v1/deep-linking/#launching-the-uber-mobile-site
Well, I can open the site, and I choose login, I typed my password and press return, and I see this:
Please download the Uber app or visit http://t.uber.com/support to request access to the mobile Uber site.
I don't even know what it means. Anyone have any idea?

This is happening because Uber wants your app to open the Uber app and not the mobile site. The mobile site is available for users who cannot get the Uber app to work - but a user must request access to it.
Users can request access to the mobile site here: https://help.uber.com/h/1ed2c9ac-daad-4413-91ee-09c8aefec8da
I honestly don't know why it's not open to the public by default... and why Uber links don't automatically open the Uber app. I feel like there's a design flaw with this, because web apps can't open the Uber app via the Uber URL.
An intent filter could have been added that catches the URL and opens the App.
Overall, and at the time of this writing, Uber is still very buggy.

Related

facebook app requires me to add a platform when I don't have one

I am building a simple Facebook app to connect the backend of a project to Facebook Messenger.
I am trying to send my app for review but it requires me to send a platform for the reviewer to test my app on.
the only place to interact with the app is the test Facebook page i created but i cannot add Facebook urls to the platform. What am I doing wrong here or what am I supposed to do?
I am building a simple Facebook app to connect the backend of a project to Facebook Messenger.
If you don’t have any end-user facing frontend, this would be considered a “server-to-server” app.
The documentation has specific instructions on how to submit those: https://developers.facebook.com/docs/apps/server-to-server-apps
Platform
Platform refers to the platform that your app users use to interact with your app. Since your app does not have an interface and your users don't interact with it directly, set this to Website and provide the URL to your company's website.
(Make sure to properly describe the purpose of your app and how it works, so that the reviewer does not try to go to that URL and look for a login button there.)

Manually built OAuth login flow, which platform to specify in the Facebook App details

I want to provide the ability for my users to log-in to my app using OAuth providers like Google, Facebook, etc. For those purposes, I've built a unified OAuth login system that involves my server, based on instructions like this: Manually Build a Login Flow. From my users' accounts, I need only default permissions plus e-mail, with those permissions I've publish my Facebook app, and review was not required.
Today I've received a message from Facebook where I was asked to specify my Facebook app platforms, and this is where the problems begin. All provided but Facebook platform templates are not quite suitable for me:
currently, I'm using my system on the mobile app, but it is pointless to specify my package ID or provide some hashes because the app is not using Facebook SDK and those data will never be, received by Facebook
also, it is not correct to give the Facebook just my website URL it doesn't use Facebook login buttons or so, for log-in process communicates only mobile app and back-end
So, here my question.
Which platform I need to specify in my Facebook App if I've used instruction Manually Build a Login Flow to build my log-in flow.
Any ideas? May be someone have experience with this?
P.S. my app built on Flutter.

Share dialog app requires login?

On this page, it says that Facebook Login is not required to use the Share Dialog. I've developed an app that uses the Share Dialog, and it all works fine in testing.
However, when it comes to approving the app, under "App Details" it tells me this:
Your submission contains the following errors:
You must choose at least one platform to be displayed
I don't actually need the app listed in FB's app center, but it seems to require it. So then I check the Android option, and instead I get this error:
Facebook Login has not been used successfully on your app in the past
30 days. Please test Facebook Login with your app prior to submitting
for review. Be sure to test the entire login flow, starting with the
TOS agreement (this may require uninstalling and reinstalling your
app). We will remove your app from the App Center if we determine that
you have not integrated Facebook Login correctly.
Now naturally since the app just uses the Share Dialog, which doesn't need a login, I haven't implemented login.
How do I get past this? I've read through a LOT of docs on the FB website.
You don't need the app to be listed in Facebook's app center. You need to go to Your App > Settings > Add Platform > Website and list the Site URL. Facebook apps require a "platform" to be specified (web, iPhone, canvas etc).

Confused about App Dev process- Only trying to link to a website

I am trying to get Facebook features (like button, and login capabilities) on my website but I am having a tough time figuring out how to do it. I have a Facebook page for my website too, I do not have an app, but from what I've seen I'm supposed to create this App profile through Facebook in order to access all of these features. I am simply confused. I have a website, I have a Facebook page for that website, now I want to link the two. Again, I do not have an app for the site, yet, as it is in its early development stages. Please help me figure out what I must do to link my website to Facebook capabilities
Just "create an application" for the website. I think what you are most confused about is actually building an app.
"Create an application" provides a reference for your application to reside. All Facebook plugins currently must be processed through the JS SDK which needs an application (reference) to make requests. You will see the benefits of doing this when using facebook.com/insights
Also your Facebook fan page has nothing to do with your website, think of it separately, it will cause less confusion. There is no way to link them.
Summary: Just click the "Create app" button, set the domain to your website domain and supply the application id to the JS SDK.
Have you checked out their site? https://developers.facebook.com/
All you need to do after registering with Facebook as a developer, you should have a control panel. After that you should have a dev key, so when you make an API call to Facebook that you can authentic yourself as a registered developer. You do need to enter the javascript file in the head section so that when you call the Facebook API your Javascript code knows to reference the calls.

Facebook native mobile application and mobile browser sharing session

I have a website which allows login via facebook functionality and displays photos from facebook.
While accessing from a mobile browser I would like the website to automatically login(when the click on FB login button, without entering username and password) if the user is already logged in via the native FB application (iOS or andriod). It seems to be that I can do that by building a native iOS or android application and use facebook single sign on feature. Is it possible to do that without having the user install anything on their mobile device?
That is not possible.
Auto-Login relies on auth tokens that will be granted to a website or mobile app after a user approves an app. For security reasons, those tokens are tight to the cause they were issued for. Particularly, web tokens and mobile tokens are not interchangeable.
So you could build a native mobile app to get a "native token", but even if you would manage to (cookie-)inject it into a browser view, your website's backend couldn't use it.
More generally, you're raising an issue even facebook can't solve: Say you are using a facebook mobile app and logged in there. If you open facebook's web version on that very same phone, you'll have to log in there again. The root cause is the same as with above. Specifically, any native app is uncapable of setting arbitrary auth cookies into the OS browser. I personally believe this restriction will not fall, because it would have a large security impact - just imagine how any app could set (and possibly get) cookies for any website.
If they've never logged in facebook from their Mobile, how will your website ever know them ?
Is it possible to do that without having the user install anything on their mobile device?
Like PC's, users in a mobile device need to login in their phone in facebook's website before being eligible to login "automatically" to your website. When I say automatically, I mean they still have to go with the first time process of "Do you authorize this app/website to do X things on your account". That message is inevitable when using facebook's api on the web.
Hope this answers your question.
Is it possible to do that without having the user install anything on
their mobile device?
No this would not be possible. You need to have a native or hybrid app (phonegapped etc) to make it work. Mobile web apps run in a browser sandbox and without native code interface - you cannot get to the native SSO of FB on your mobile device
Did you have a look at this facebook page ? I'm not sure what you ask is possible, as basav said, but maybe you'll have some clues there.