I have created an application on Facebook and am trying to prevent business accounts from installing the application. I understand that business accounts (and by extension pages) can not install applications. This understanding comes from a few posts I have come across here on Stack Overflow posted by users on the Facebook support team -
Can I add the "login using facebook" feature for my fb business page? (answered by igy)
Get data from businessaccount (answered by Jonathan Dean)
A picture is worth a thousand words, so here is a screen shot proving that I am able to install an application with a business account -
As you can see from the settings page, this is indeed a business account and it has installed an application (SomeApp).
Whether or not this is a bug (which I believe it is) is not my question here.
My question is how can I detect such a business account? I am aware that before installing the application I have no information on the user so I'll have to detect this after the account has installed the application.
So far my thoughts are to inspect the following fields -
first_name
last_name
I was considering the gender field too, but I believe that this can be set to private.
Related
in order to approve your app’s continued operation on our platform.
Platforms affected: Connect URL.
Developer Policy 1.2: Build an app that is stable and easily navigable.Some common violations of this policy include:
- Broken Facebook integration (e.g. broken share, like or comment functionality)
- Broken user experience in the app (e.g. app has broken links or user interface failures)
My app:
Using https://www.npmjs.com/package/hellojs v1.18.8 to query user info from facebook.
The request URL:
https://graph.facebook.com/v2.9/me?fields=email,first_name,last_name,name,timezone,verified&access_token=.....
calling out hello.js
hello(auth.network).api('me').then(function (json) {
App has no share, like, comment functionality and not really any user interface. Just our page offers ability to fill some data with facebook and then it remembers you with cookie.
Anyone has similar e-mail and what to do?
Our app does not use share, like or comment functionality neither do we provide any user interface for users (only the o. We are using Facebook to prefill some user data on our site.
Have the same unclear message "Platform affected: Connect Url".
I asked for a more detailed answer and received an answer the next day:
Thank you for your response.
Facebook periodically reviews the websites and applications which are on it. Your application is in its review process currently. We are required to test the Facebook login functionality in order to conclude the review in totality. However, we are unable to do so.
Unfortunately, we have not been able to locate a Facebook integration (Login, Share and Like) on your submitted platform. To help us conclude the review process, could you kindly share the details regarding the location of a Facebook integration and how to navigate to it on your website URL.
This review is essential to Facebook as we want to offer the best experience to users as well as developers like yourself. Please help us in bringing your application into compliance by working with us.
Alternatively, you could aid us by sending us credentials of a test user which is already registered and connected to an FB account within the app. You can get all the information related to creating a test user here - https://developers.facebook.com/docs/apps/test-users.
Please feel free to get in touch with us regarding any doubts or queries you might have.
Thank you for your patience and cooperation.
Looking forward to hearing from you.
My app contains the functionality of a facebook login. I made an instruction and a test user of the application so that Facebook employees could test the functionality used in my application.
Normally they write down what is wrong and explain how to fix it. If you are not sure you can reply them back and ask how to fix it. I manage to fix my issue which was similar to the one explain below by emailing facebook.
https://technuisance.com/facebook/facebook-policy-warning-for-app-solved.html
I got the same message from Facebook two months ago. In my case, I didn't find a solution in time and Facebook penalize me by deactivating the app.
Therefore, you must attend to it if you do not want the same to happen to you. Facebook uses software similar to this to check for failures on your site and assigns a score according to its performance. That's why they send you such a generic message.
I suggest you use PageSpeed Insights to receive a report on the performance of your website. In addition, the platform gives you suggestions for optimization and improvement; Surely there you will find some clue of what may be failing.
I'm having trouble finding solution for my client's new web app - within this app, customers will be able to create ads for facebook, instagram and google (and others in future), all from 1 place. So, somehow I need to be able to manage ads for customers' Pages. For personal accounts it's "quite simple", through ads manager, big green button 'Add people', but I need this permission for Pages, not for personal accounts.
We already have approved "ads_management", "ads_read" and "manage_pages" (I'm not 100% sure if we'll need manage_pages permission) - we'll probably ask for "Ads Management Standard Access" too.
After some research, I think this whole thing might be possible through Business Manager (so we'll need "business_management" permission too, right?), then in app settings, there's business manager ID input (for linking business account with app).
Here's my proposed solution (simplified):
in our web app, customers will provide us with url/ID of their Page
api call to check whether logged-in user is administrator of provided Page
api call to add this Page to Business manager (send invitation)
api call to check if user/Page has accepted invitation - if so, we'll be able to manage their ads
Question is, is this (very simplified) solution possible? Will it work? There are dozens of APIs and I'm not sure I picked the right one.
Development is at early stage, so we don't have any in-depth research yet.
Something very similar might be here - Facebook ads, add customer page to business manager but it's 2 years old and after all scandals, there were a lot of changes in APIs, so I'm not sure whether it's still actual.
Thanks in advance
So we've developed a Facebook App (and similar apps on Twitter and Instagram) that allow users to post and read content using an external system. We'll sell this integration directly to our clients, so it's a private application.
Basically the user will see a very simple page with a button "Log in to Facebook" and a disclaimer regarding the authorization (we'll use some query params fixed in the url, depending on the client). The client authorize us and we capture the access tokens.
To submit the app review, though, we have to explicitly give a test user to the reviewers, but that's not really possible because the real "action" happens within the integrated systems, NOT within the app itself. And those systems are not public (they shouldn't be).
So just to be clear: our app is basically a very simple "Facebook login" that we use to get tokens, generated by specific clients authorization. It's not going to be published anywhere.
Until we have around 5 to 10 clients we can add the specific users in our app as Testers/Admins/etc, but what if we scale up? Say we have 20 clients. How are we supposed to get our app to be "live"?
To follow the app review steps we would have to create some users in our local systems (we have some dev environments), open them to the internet so the reviewers can log in and see how it actually works? Is that it?
(btw I'm asking this because our app review was rejected twice and I want to make sure I'm submitting everything they ask this time).
Thanks :)
I think the Login Review FAQ answers most of your questions. The key point:
Our review team will actually test how your app uses each permission on every platform you have listed in the settings section of your app.... You'll need to explain exactly how to test each permission or feature in your app so that we can make sure it works and follows our policies. We can't approve your app if we can't fully test how it integrates with Facebook.
In other words, it's not enough to just allow them to log in to your app, you have to expose all Facebook-related features to the reviewer.
To follow the app review steps we would have to create some users in our local systems (we have some dev environments), open them to the internet so the reviewers can log in and see how it actually works? Is that it?
Yes, though I'm not sure what you mean by "open them to the internet". You should be able to create a test user on your local system and link that account to a test Facebook user. Then you can have the Facebook reviewer use that test account for their review. (From the FAQ: "In the Items in Review section, you'll see a Test User (optional) section that allows you to type the name of the user you wish to be used in your review.")
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
Can I create or manage a Facebook app via a 'business' account?
When I try to access https://developers.facebook.com/apps when logged in as a business account it redirects me back to my homepage and won't let me create an app.
Context: A business / advertising account (sometimes called a 'gray account') is a special, now-deprecated type of account Facebook provided to advertisers to manage their Ads and Pages before Business Manager launched - the primary reason people want to use a business account with an App is to link the existing App to the Ad account so Ads can be driven to the application.
Is there any way to manage or create a Facebook app using a business / gray account?
'Business' or advertising accounts can't manage apps - if at some point in the past you were able to create an app using a business account this was a bug or loophole and shouldn't have been possible - only real verified user accounts should be able to create and manage apps.
It's also possible to have a Business account which owns apps if you created a fake user account, created apps, and later converted your user account into a business account or had Facebook do it for you.
If you need to share ownership of the app between multiple people
You can do this by making all of the admins/developers working on the app developers or admins directly via the API or the 'Roles' tab of the App settings:
If you need to run ads for the app using a business account
You can specify which business accounts will manage the ads for an app in the app settings on the Advanced tab - add the email address used to manage the ads.
This is the only supported connection between apps and business accounts.
Screenshot below:
Strictly speaking I'm not answering the specific question you have at the end about gray accounts, but answering the bigger overall question about business accounts in the new world.
Since the original question was asked, Facebook has introduced the Facebook Business Manager which enables businesses to have a single place to manage pages, ad accounts and apps.
https://developers.facebook.com/docs/apps/business-manager
You login to the business manager via your facebook login, but it can have a business email and name etc. associated with it. The administrators can add other people and modify their permissions, and it keeps peoples business identity and personal identity separate.
Significantly, if you have more than one app and they are associated with your business via business manager, you will get the same User ID for a given user whichever app they are using. If you don't do this, you won't, because the User Id is normally scoped to each app.
So this new world gives the benefits that
a) apps can be managed via a business identity
b) apps which belong to the same business can report the same User Id, which makes it easier to track and co-ordinate activity by users across several of your apps.
My company wants to include Facebook Connect into some of the web sites we sell. Getting the integrations to work properly isn't really the problem, the problem is creating the required app in a useful way.
I can create the app with my personal Facebook account, but that's no good if I quit a few years down the way, and since Facebook scrapped company accounts over Pages, it's not possible to make a company account where we can gather all the Facebook Connect apps we make.
Is there an official solution and/or working hack that will solve this problem for us?
Thanks in advance for all help!
No. You are going to have to use a "real" Facebook account for this. You also need to verify that account as a Facebook developer. This involves either submitting a phone number (SMS verification) or a credit card number.
If you are worried about using your own personal account, as your client to use his. There is no reason you should be forced to use your account - after all, its only a job right? :)
I strongly advise against opening a new "fake" account to manage your applications. Facebook is tightening their security and methods to find these fake users. Should Facebook close this "fake" account, you won't have access to your application's settings anymore.