Facebook Unity plugin: Given URL is not allowed by the Application configuration: - ios

I'm facing a strange Facebook plugin behaviour.
Everything was fine until friday (07/08/2015). I was posting statuses without any problem, but now after I'm entering a login and a password of a test user account (App Settings -> Roles -> Test Users) Facebook showing me an error:
Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. To use this URL you must add a valid native platform in your App's settings.
ATM I'm testing my app for the iOS platform and I can't add it, cause I don't have an app store ID yet.
So what am I supposed to do to test my app's facebook functionality before posting it to the app store?

You dont need to set up the store id to test the app as long as your app isnt live. At least in my case I remember adding the desired platform from the settings in the facebook dev console , then typing in the Bundle id and saving. after that I was able to test with users added as test users under roles.

Related

Lastpass iOS autofill filter

I'm trying to link our iOS app to our website with Lastpass. For most sites/apps, Lastpass will filter your list of passwords to the ones that match the app you're trying to log into. For example, if you have a password for mysite.com in LP, if you open up the mysite.com iOS app, the list of passwords will be filtered to the one for mysite.com.
Our app does not filter. When we tap the password field, all available passwords show up and we have to navigate to the password for our website to autofill. We would like this to work like it does for other app/site combos.
I have already deployed the app association file to my website and added the Entitlements to the app (applinks and webcredentials) but it still doesn't work. Any thoughts?
Did you add the site to your app's Associated Domains Entitlement? You need to do that in addition to adding the Apple App Site Association file to your site which you said you've done already.
Documentation here: https://developer.apple.com/documentation/security/password_autofill/about_the_password_autofill_workflow

I can't access to facebook test user's profile on iOS Safari

I have created facebook test user and this is user id '123277648572642'
however I can't access the public profile using this url - facebook.com/123277648572642
what am I doing wrong?
That's expected behaviour, from the Test Users documentation:
A test user is a special Facebook account, invisible to real accounts, which can be created within an app for the purpose of manual or automated testing of that app's Facebook integration.
(emphasis mine)
You should be able to log in as that user using the instructions in the documentation to add content, test if your app is working as expected, etc, but normal/real Facebook users can't see the profile, and you can't see it when logged out.

Facebook login error "User is not allowed to see the application."

Hi: I have submitted my app to the App Store. I have Facebook login feature in my app. When I try to login to Facebook from devices I have I am able to do it seamlessly. However Apple has rejected my app saying " When we tap the Facebook icon to sign up we are taken to mobile Safari where we receive a message that states :
User is not allowed to see the application.: The user is not allowed to see this application per the developer set configuration.
Not sure how will I be able recreate this issue. I installed my app on 3 different devices and was able to login without any errors. I checked my app setting on Facebook Status and Review section of Facebook and I have enabled my general public. Not sure what else I am missing. I just feel very dejected. Can anyone please help me figure this out? I am using parse as my backend service and logging users using parse Facebook login.
Thank you very much!
Another reason this will happen is if you are logged in as a test user from a different app than the one you are trying to sign in to. Facebook test users are app-specific.
Sign out of Facebook and back in with a test user from the correct app.
Go to Safari > http://m.facebook.com > logout
In cases where app sign in with safariviewcontroller, sometimes it contains test user of different app
In my case, I was using wrong facebook application id in the code. So added the correct id & it worked for me.
This issue occurs because Apple testers used the same Facebook test account which was created to test any other app and they did not logged out from that account(forgotten to log out) and that facebook test account doesn't have the permission for the current app in review which is why this issue occurs,
You can follow the given link to replicate the issue by creating an an test account.
http://samwize.com/2014/07/23/error-with-facebook-login-using-test-users/
Steps to create Facebook test account
https://developers.facebook.com/docs/apps/test-users#managetool
We had this problem, and it turned out that the problem app didn't have a namespace set up in the Settings > Basic tab. Creating one is the solution to this.
Recently I have faced this same issue. Presently Facebook doesn't allow you to login from any Facebook id as you app is in development mode. There are 3 possible solutions that work for me:
Use only that id for Facebook Log In Testing with which you are working in Facebook for developer.
In Facebook for Developer-> Login to your Account-> Open app->Roles-> Test Users-> Add->Submit-> Edit on newly created random tester account->"Change Name and Password for this Test User"-> Provide a Name and handy password for testing.->Submit.(Use the given random generated mail id and password for testing Facebook login through your app.
3)In Facebook for Developer-> Login to your Account-> Open app->Roles->Roles->Testers->Add Testers->Provide Facebook Id for the user you want to add as tester->Submit
To get Facebook Id for a valid user. Login to Facebook with the Id you want to make as facebook tester in your development process.Then goto profile and in URL of browser you see id=(some_random_number). Copy that Id and paste it into Add Tester section of Developer account. It will be in pending state until the valid user accept the inviation.
I had something similar when validating to apple too,
I still don't get it now but for some reason the facebook secret id had been erased from the parse configuration.
You must check that point too
I don't know if that was the reason or not but for me this happened only after I signed the application with a release key, so I made the app 'public'. Probably the test users doesn't work for public applications.
We had this problem, and the solution is to use the same FB test accounts that was created from the same FB App. So if the App get rejected from App, then you should send to Apple a FB test account with password.
my side
I was using wrong facebook application id in the code. So added the correct id & it worked for me.

How to get back to the app after registering with facebook account?

I am trying to build an app that requires facebook authentication like registering users through their facebook account. Problem is after user logs into facebook am not able to get back into my app
In the Info section or info.plist of the project, there is a tab of URL types. In URL Types section you have to enter your facebook id that you got by creating facebook developer's account with 'fb' in prefix. Also identifier needs to be entered so that the OS knows which app to get back again

How can I work locally with facebook login with the settings of App Domains and Website with Facebook Login?

I want to set up the facebook login for my website locally but it gives the warning:
One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
In the facebook app settings, I set as follows:
App Domains:mysite.com
Website with Facebook Login:http://mysite.com
Is that OK if I want to work locally? And what else should I do to avoid the warning? And I am quite confused with how the facebook_login works. I am new to this area, thanks for your help.
Let's say you are doing local development and your app hosted locally with url:
http://localhost:53750/
Go to your settings on Facebook: Apps-> YOUR_APP_NAME -> Settings -> Add Platform
Select WebSite and enter your url and save changes After that you should have something like:
Done. Try to login from your web app.

Resources