Facebook Login - testing after app restriction - facebook

I have a (few) facebook login apps that have been restricted for reasons I'm working on resolving. The problem is that now the app is in development mode and restricted. I created a test user, and also added my personal FB account as a tester for the app, but when I go to the website in question and click on the "Continue with Facebook" button, I get an error "Error Accessing App We're sorry, but the application you're trying to use doesn't exist or has been disabled". How can I test the app when I can't get past this? Logging in as the test user or my personal account does not get me past this. I have tried to get to the Facebook Developer Community group to ask, but our company account was tossed off the group because it isn't a personal account, and my personal account has been pending for about 10 days right now.

Related

Can't get Advanced Access to public_profile on a disabled app?

Last night Facebook disabled our app with the following justificative:
Developer Policy 6.1: Verify that you have integrated Login correctly. Your app shouldn't crash or hang during the testing process.
During Login, your app is crashing or hanging excessively, creating a broken experience for people trying to use your app. To make sure this flow runs smoothly, check that you've integrated Facebook Login correctly. We recommend that you test Login on all integrations. If you have not already done so, please:
• Here's our quickstart guide for implementing Facebook Login for Android: https://developers.facebook.com/docs/facebook-login/android
• We encourage you to test your Login integration following these steps here: https://developers.facebook.com/docs/facebook-login/testing-your-login-flow/
• Best Practices for Login can be found here: https://developers.facebook.com/docs/facebook-login/best-practices
After going through the app options for Facebook Login, I found out that our public_profile permission is in "Standard Access." To allow our users to use Facebook Login, I will need to upgrade to "Advanced Access."
The documentation says that "Business apps created before February 16, 2021, were automatically approved for Advanced Access for the email and public_profile." I should be able to move our public_profile permission to "Advanced Access" because our app was created way before 2021. The problem is that after I click on the "Get Advanced Access" button and type my password, the page reloads, and the public_profile permission is still on the "Standard Access" mode.
So, these are my questions: what I am doing wrong? Is my app unable to upgrade our permissions to "Advanced Access" while being in this "Disabled" state? How can I debug my app to make it work again?
Some additional info about my app:
It passed through the Facebook App Review in 2019, and we already got permission to manage Pages and read connected Instagram accounts;
Everything was working fine until Facebook warned us that our Login integration was not working correctly;
In response to the Facebook notification and before Facebook disabled our app, we enabled the "Login with the JavaScript SDK" and updated the "Allowed Domains for the JavaScript SDK" (such as "https://www.example.com/").
I can't switch back our app to "Dev Mode" because the option is not showing up (is it due to being "Disabled"?)
For anyone landing here from google: I had the same issue, it is a brand new Facebook app, it's not blocked nor disabled. I needed to enable login through Facebook, thus needing advanced access to public_profile. When I tried that, it sometimes asked for my FB password, sometimes not, but it did nothing. There were no errors in the javascript console in the browser, nor any failed requests. I managed to make it work by simply waiting 10-30 seconds after each click (Request advanced access -> wait -> check the box -> wait -> write password -> click submit) to let the JS in the browser finish whatever was going on and then click the next button etc.
I discovered that it is not possible to modify your permission settings while your app is blocked.
I recovered my app using the appeal form, saying that I can't correct it while it is blocked because I need to change the permission settings. In case anyone needs an example, this was the exact text I sent to Facebook on the appeal form:
To get our app into compliance, we still need to upgrade our
permissions from "Standard Mode" to "Advanced Mode", but we can't do
this while our app is disabled. I would like to ask Facebook for an
Extension of the deadline and to re-enable our app, to allow our team
to change the permissions to "Advanced Mode" and properly test and get
our app into compliance. In case it is not possible to make an
extension to the deadline, we ask Facebook to revoke all permissions
given through the App Review process and then re-enable our app, in
Dev Mode. This way, we would be able to make all the required changes,
properly test our app, and submit it again to the App Review.
for me it was not possible to get a reply from facebook with the text of #lgfischer. All the time only chatbots answered. After 2 weeks of writing we decided to remove the facebook login from the app.
the end result is: no more facebook login in our app. 😁 thanks to all facebook chatbots and to the intelligent metaverse. ;-)
I had the same issue, it is a brand new Facebook app, it's not blocked nor disabled. I needed to enable login through Facebook. It asked me to enable advanced access to public profile setting When I tried that, it sometimes asked for my FB password, sometimes not, but it did nothing.
There was no errors, the setting was just not turning on to advanced. this problem was faced by some others too, who have posted their answers under this same topic
I have been able to access the advanced setting now.
All I had done was change from brave browser (Tried with chrome also, but didn't work) to Mozilla Firefox
It just worked like magic. make sure you enter the right password for that account.
If this helps, hit an Upvote. or comment your experience below

Testing a Facebook Group App with the new permissions

Before the data breach at Facebook I had an app that was approved for the user_managed_groups permission. When they changed things my app became useless due to the restrictions on getting the user data from the comments.
I'm seeing now that Facebook has updated the API to allow apps to get that data provided each user of the group provides consent via graph login. I can easily add this to my workflow and provide the group admin a link for their users to consent.
The issue I am facing now is that the group admin must install the app into the group (see this help article for how this is accomplished), but apps cannot be installed unless they are approved by Facebook. This workflow seems like a catch 22: I can't test unless the app is installed but the app can't be installed unless it's approved.
How do I test my app if it can't be installed to the groups?
Test it with a group your app admin is an admin of, and a comment also made by that app admin user, that seems to work for me, according to a quick test in Graph API Explorer. (Comments made by other people with a role in the app probably work, too.)
The app must be in dev mode though, in live mode you will just get the error message saying the app must be installed in the group. If your app is currently in live mode and you can’t set it to dev mode, because you have other features that are in production already, then create a test app version of your app, https://developers.facebook.com/docs/apps/test-apps

How to register (or ideally self-register) a Facebook app developer without forcing a "friendship" with an owner/admin

Our team is building an app that has Facebook login requirement (in addition to other oauth/identity providers such as LinkedIn, Google, end so on).
The app is obviously in the sandbox mode, so in order to develop/play with it, it requires developer accounts for each team member, otherwise login flow just fails.
My problem is that, as an app "owner" I don't see a way how to register developers or testers that are not in my friend list. I tried to put an e-mail address of one of my colleagues that she is using for facebook account, but Facebook did not accept it with the message that user id could not be resolved. And I really do not want "to friend" with anyone. Making the app live is not an option either as it required review process, and we are pretty far from finishing this.
So is there any solution?
Update: Here is the error message shown to the user when she is not registered as a developer:
App Not Setup: The developers of this app have not set up this app
properly for Facebook Login.
Ok, figured it out. An app owner can use an alias that comes with the "facebook email" (whatever is in front of #facebook.com)
To access this special id, you need to go through the set of links:
Your profile page
Then click About
Then click "Contact and Basic info"
Then click on emails link to show your emails (emails hidden from Timeline)
Then find #facebook.com email and take the part before the # and use it
for registering

Getting Facebook publish_actions Permissions

If this is the wrong place to ask this - I super apologize in advance, I'm at a loss here.
I'm trying to develop a simple Facebook PHP app and I'm having trouble getting publish_actions. Here's how the app will work:
You enter your email address
Periodically, you receive emails like this ("Hey nice person, here's a video we think you might be interested in, click here to share it on your wall")
You click the button, it takes you to the app site, which asks for your publish permissions
You enter a message and share the video to your wall.
My problem: all of that requires publish_actions permissions, but FB won't grant them to me until I can show a working app (I applied for permissions and was denied because "Canvas
Your app isn't loading properly and errors appeared while testing your app").
My question: How do I get access to publish_actions without being able to show a working app (which requires publish_actions)? Can I use PHP to post to my own wall in development mode somehow to test it out?
Again - I apologize for the dumbness of this question, I am a PHP dev who is very new to FB, and I've looked everywhere for answers on this.
Try using the Facebook Graph API Explorer
You will be able to simulate some of the app permissions as if it was production.
Just go and select your app, then select Get User Access Token, finally select all the permissions you want to test.
Use the given token to develop and test things out and when you have a semi finished version, submit it through the app review section, following the Facebook App Review Guidelines
I submitted screenshots, a video of my app working, and step by step description on how to reproduce the publish action.
Hope it helps.

How to create a Facebook App?

Preamble:
I'm not a Facebook user, I never had any Facebook account, so I'm not familiar at all with the Facebook website.
I need to create a Facebook App
Today I need to implement "Facebook Connect" (authentication) for the website of a client. I'm using an existing extension which requires me to enter my App ID and Secret key, which can be obtained by creating a Facebook App.
1: Where to get started?
According to both the Facebook Documentation and the extension I'm using, a Facebook App can be created by going to the following URL: https://developers.facebook.com/apps/
2: Account required
When I go to that URL I am asked to login. Very well, so I go ahead and create my very first Facebook Account. On the registration form it says that if the account is created for a business then I don't need to enter my personal name. This account is not for me but for my client's website, and my client being a business, I go on and open a business account.
3: Account verification
To complete, I am required to verify my email address, which I do successfully. After that, it asked me to verify my personal phone number, which I do successfully.
4: Account created & verified: still can't access the App Creation page
Now, I finally have a Facebook Business Account. I go again to that same URL to create a Facebook App: https://developers.facebook.com/apps/. However, I still can't access the page as according to the Facebook Documentation it seems that I need to convert my account to a "Developer Account".
5: Developer Account required
Very well, I follow the process of converting my account to a Developer Account, provide all kind of information about me and the company hiring me, and finally, I now have a Developer Account, yeey!!
6: Second attempt
Ok, now it should certainly work and I will FINALLY be able to create this dawn app to start implementing Facebook Connect on my client's website!
Double checking that the URL is the correct one from the documentation of the plugin, and also from the Facebook Documentation itself, I go ahead and refresh this page: https://developers.facebook.com/apps/
7: Still fail: now getting redirected to Facebook Advertising
But now, when loading the above URL, I am automatically redirected to the following page: https://www.facebook.com/advertising
I have tried to log-out, erase all my cookies, login again, but nothing will do, when I go to https://developers.facebook.com/apps/ I am always redirected to https://www.facebook.com/advertising which is about creating ads but what I need is to create an app!
8: Personal Account required
I searched all over the place for an explanation or maybe for a newer URL, but no luck. I finally found on StackOverflow (Can't access Facebook Developers App!!?! Redirected to my page repeatedly) that I can't create a Facebook App with a Business Account, and that I need a Personal Account instead.
9: Personal Account creation
Very well, I go ahead and create my very first personal account on Facebook.
10: Can't create a personal account, email and phone already used!
Oops, it says that my email was already used for another account. Hmmm OK so I go ahead and create a new email address especially, and then try to register a personal account again. Now it is asking to verify my phone number, which I do, but unfortunately it says that my phone number was already used to verify another account earlier today!
Dawn, I'm really starting to feel exhausted by Facebook. Let's think about a solution. I have only one phone number, and I wouldn't use the phone of a friend as they all have Facebook and all probably verified their own accounts using their phones.
11: Deleting my Business Account created earlier
Solution founds! I will delete my business account, so my real email and my phone number will be available again! Yeey!!!
12: Facebook won't delete my account today
A few minutes later, I understand that my Facebook Account cannot be deleted today. I can deactivate it. But this won't free my email nor my phone number. After some research on the web I found a hidden form that allows to really delete my account. I go ahead through the deletion process, enter my password about 10 times, and fill 10 really hard CAPTCHAS, and finally my account is deleted! Oh wait... it says it won't be deleted before 2 weeks!!!
13: Final attempt: fail again
Anyway, I still try to use my phone number again to create a personal account, but still no luck, Facebook won't let me use my own phone number to activate my account.
What are my options?
Have you looked at all into dummy phone numbers, such as with Google voice (free) or with Skype (nominal fee)? Some sites, such as Craigslist, can sniff those numbers out and still not allow them to be used for verifying, but others can't tell the difference. Could be useful.
Depending on how big your client's budget is, maybe grab a throwaway prepaid phone from the store and use it. Just a few thoughts on how to avoid the phone issue. Everything else seems straightforward after that.
Building an app on Facebook gives you the opportunity to deeply integrate into the core Facebook experience. Your app can integrate with many aspects of Facebook.com, including the News Feed and Notifications. All of the core Facebook Platform technologies, such as Social Plugins, the Graph API and Platform Dialogs are available to Apps on Facebook.
In this document we will explain the following concepts:
Canvas Page: The Page in which your app is loaded.
Social Channels: The key channels that help you grow your user base and re-engage existing users.
Analytics: Accessing analytics for your application.
If you wish to start building an App on Facebook now, please refer to our getting started tutorial. If you want to build an app to add to the tab of a Facebook Page then you should refer to Page Tabs.
Visit this site
https://developers.facebook.com/docs/guides/canvas/