How to get user_photo permission app approval on facebook? - facebook

I can't seem to get my app approved on facebook for photo approval. The problem is that Facebook says I haven't demonstrated how my app use photos so they can't approve that permission. However I can't show them how my app uses photos because its not approved for users to give that permission! Its a catch-22.
I need to give facebook an account that they can use to connect to my app and see how I pull in user photos. The website is already built using the PHP SDK and its configured to redirect the user to facebook's oauth page where they are prompted for permission. However at this point any username except mine (the developer) sees this:
The following permissions have not been approved for use and are not being shown to people using your app: user_photos.
Submit them for review or learn more.
So therefore the account cannot grant photo permissions and the app doesn't work right. So facebook won't approve it. How do you get around this catch-22? Things I've tried:
Creating a facebook test user through their dashboard, it still doesn't have permission to grant photo access
Creating a real facebook account, uploading photos, and then making that user an "administrator" of my app. Still cannot grant photo access.
This is very frusterating, anyone have any ideas?

Your App must be created before 30 April 2014 then use it in facebook
Like your AppName Huus then it is created before 30 April 2014 in facebook

This all means you haven't created a test user correctly. If you create a test user from
https://developers.facebook.com/apps/{your-app-id}/roles/test-users/ (App Settings > Roles > Test Users), the user will have access to any and every permission, even if they've not been approved by Facebook.
When asking for permission, I got no error or warning about unapproved permissions.
I was able to create a test user for my app, logged in and was able to access unapproved permissions. Screenshot is proof.

Related

Facebook App Review - How to allow FB reviewer to test manage_pages permission?

I have an app that allows users of a (basically)WordPress site to share their posts to their Facebook business page (not user feed). Everything works great, I just have to submit the app to FB for review because I need the manage_pages and publish_pages permissions. How do I allow the Facebook reviewer to test this functionality when they need to have permissions attached to a FB page to be able to share a post to it?
I have created a login on my site for the reviewer. I have also created a test user on the app that the FB reviewer will be able to use, and I have used that test user to created a test page but the page is not accessible by my app or by any other user. The test page is set to Public. As I understand from what I've read in the FB docs, content by a test user (I'm assuming an FB business page qualifies as "content") is only visible to other test users. How can I set this up for FB to be able to review this?
As pointed out by CBroe, Facebook testers have their own pages with which to test permissions like this. I was over-worrying.

Can I create a second Facebook account for testing without violating the TOS?

I'd like to develop a Facebook app that reads statuses posted by a user's friends. However, it seems that I can only read friends' statuses if they've given the app a user_friends permission. So, to test my app before I actually release it to my friends, it seems I'll need to set up a test account, set up a friend relationship between that account and my account, and then have the test account give the app permission.
Is making a second account for this purpose allowed under the TOS?
Facebook has a tool (and API) for generating test users for your app, which you can find in your app's dashboard's "Roles" tab.
https://developers.facebook.com/docs/apps/test-users#managetool

Facebook app - Do i need those permissions?

I created an app for my clients. They uses this app from their website to post on their Facebook Page (and as the Facebook Page).
they use a Facebook Login button to connect to Facebook (with an account that can publish post on the page) from their website,
they complete a form
when the form is submitted, an article is created on the website AND a post is created on the FaceBook Page.
I ask for publish_action permission and manage_page permission when the user connects.
Those permissions need a review from Facebook, so I ask for it but the FB team says that I "only need those permissions when I use a public-facing Login". Is that not the case?
Currently, my app only work when I connect with the account that created the app.
You do need those permissions, but if the App is for your client only you donĀ“t need to get them reviewed. Just add your client as Admin, Developer or Tester of your App and the permissions will work for him without review.

Facebook app: How to test unapproved features

Hi I try to make the "publish_actions" feature of my web app approved but I cannot get it approved cause facebook approval system keeps asking me to include screenshot of working features.
However, I cannot provide such screenshot because the "publish_actions" feature is not approved yet.
How is it called? A catch 22 or an Chicken-Egg-dilema? Anyways...
Where should I start?
(I already tried with a test user and a developper account, both in live or developper mode)
Thanks to anyone that can help
You can create test users, or add users as "Testers" or above in your App's "Roles" tab in the developer area of Facebook.
If your app is interacting with a test user or any user with an assigned role in your app, it may request permissions that have not been granted yet by Facebook for public use. There's no trick or workaround; just simply request the permissions like you normally would for any other user.

new app-id - OAuthException (#200) on post comment

Since I created a new (Facebook) App last week, I get an OAuthException whenever I want to comment on a post.
"(OAuthException) (#200) You do not have sufficient to permissions to perform this action".
With the old App, my application works fine.
Now I found out that Facebook has changed the login policy recently. I also found the following remark on https://developers.facebook.com/docs/facebook-login/permissions/v2.0:
"If your app asks for more than than public_profile, email and user_friends it will require review by Facebook before your app can be used by people other than the app's developers".
So if I post with the same account with which I created the App, it should work, right? Only it doesn't...
Remark: if I use the new App with another Facebook-account, I have even less permissions (e.g. cannot access the account's pages). So I have more permissions if I use the same account, but still I cannot post!
I use Graph API via .NET Facebook-Client; my App is a native app (desktop app).
Could someone please tell me how to post with a new App? This is the main use-case of our application! Thank you very much!
Here is a screenshot of what I see instead of the login-screen when I use extended permission "publish_action" instead of "publish_stream"
You must be able to post with your own account since you are the admin of the application. - since only the admins/developers/testers will be able to test the app with the publishing functionality before it gets approved by facebook.
If you still are not able to, you must have not granted the permissions to the app. Things to check-
You are using publish_actions and not publish_stream
Check in your application settings whether or not you can see the publishing permission is granted for that app.
If not granted, go through the login process again and grant the publishing permission (may be by removing the app from settings and then authorizing again OR logout the app and then login again with publish_actions)
Problem solved - it was a stupid typo: I wrote publish_action instead of publish_actions (should be plural)! Thanks again to CBroe who pointed it out in this thread!