Getting Facebook publish_actions Permissions - facebook

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.

Related

Error when generating access token for Facebook messaging app

Despite googling and asking around I cannot find an answer to hat I am doing wrong.
I have a Facebook account and a Facebook developer account.
I created a page with my Facebook account
I log into FB developer page and create an app.
I give it a name and email and verify I am not a robot. I have a app id.
I go to dashboard and note I am in development mode.
I add a product - messenger to add te FB messaging to my page where I'll have my chat bot app.
To generate an Access Token I select the page I created from the drop down.
In the tutorial I am following an Access Token appears in the right had input.
But I get the following error
'lease edit permissions to grant the app pages_messaging in order to generate an access token.'
Can anyone tell me why and / or how to solve this issue.
Please note when I click edit permissions I see a prompt to get my permission changes reviewed by Facebook , but I should not need to do that as my app is in develop mode and will not be available to general FB users, as I understand it.
Here is a screen shot of what I see after clicking edit permissions
Thanks for your time . Much appreciated.
My apologies , I was confused when I saw the login permissions and thought I'd have to request fB to review my app , while it was still in deveopment mode. In fact you can follow the instructions below. Although I have no idea why iy just doesn't fill in the Access Token as it used to , the additional step seems pretty redundant and confusing (IMHO).
The process is simple however, just click on Edit Permissions > Select the ChatMiester page (deselect all others) > Make sure the checkbox is enabled and hit next and complete. This should generate the PAT. Having said this, I could not replicate this at my end, but it should work easily.

Facebook API - Need publish_pages and manage_pages but Failing Review

My code is working properly in dev mode, but I can not get approval to use publish_pages or manage_pages. I keep failing every review.
The problem is that the software is to be ran as a cron job and there's really no user interface. This is for an auction website and we want to post a summary of auctions for the next day in our feed.
For some reason they keep saying:
Your screencast doesn't show how the use of this permission directly improves the user experience in your app. Unfortunately we also weren't able to determine this from testing your app manually
Right now, if I have the app in dev mode the post submits successfully, but only my user account can see them, so I've been having to leave dev mode on, let the app post, and then turn the app live.
This is less than ideal. Is there any 3rd party application that has already been approved I can use to post to our facebook page?
It seems like the magic is making sure to mention "this is a server to server application with no user interface" is all that's required to get your app approved. After doing that, it went through without an issue.

Submit facebook application for review

I created an fb application which uses the following permissions: manage_pages,publish_pages, and read_insights.
The main purpose of the application is to give to the authenticated user reports and statics about the popularity of his own fb page.
I noticed that I can't use those permissions until I submit the app for review.
In the facebook developer account, I noticed that for each of the above permissions I have to complete some notes:
1. How a person logs in with Facebook
2. How a person sees the permission used in your app.
Also they want me to upload a video to show them that I use the permission correctly.
The problem is that I'm not sure what should the video contain in order to clarify the point 1 and 2.
Right now my application is only doing the authentication phase (signup), and in the next release we are going to create and display analytics for each user who joined the platform.
I would be grateful, If you could give me some suggestions regarding what facebook would like to know in order to approve the permissions.
Thanks,
Your App needs to be working before you can send it in for review. Meaning, you need to have at least a working prototype. For development, you do not need to go through the review process, every permission works for everyone with a role in the App without review.
In other words, you can´t go through review with permissions you don´t even use right now.

"Hardware-based" facebook app

For my company I am developing an automated photo-booth. The goal is to capture a photo and after a quick review publish the photo to the company's Facebook page, all automated.
To this end I registered an app, and the application is conceptually done and works.
However only the developers of the app can see the photos, which seems to be because the app is not "reviewed by facebook" yet.
When I read what is required to get it reviewed, facebook needs to be able to test and verify the app. This is however impossible because the app only works in combination with the hardware on site, and it is not meant for anyone else to use it.
Am I solving this the right way? Can it be approved just for some users, like a "private" app? I'm not sure where to go from here.
If no user authorization is involved and you only use an Extended Page Token for that Page (that is valid forever), you don´t need to go through review. Just set the App to public in the "Status & Review" section of your App settings.
The App will work without review for everyone with a role in the App (Admin, Developer, Tester).

How can I test and develop my app without submitting it for review?

I am developing a new social media management tool which integrates Facebook. It works sort of like postplanner.
My app helps people manage pages better.
I need posting and page management permissions to test and develop my app, but whenever I try to give these permissions to my Facebook id (who is the administrator on this app), Facebook refuses to do so, and asks me to submit it for review.
I saw the review section and it seems that the app needs to be complete to submit for review.
How can I finish my app if I can't test page posting?
I tried creating test users in Facebook, but these test users can't create test pages, and that's why I can't use them.
I don't know what's going on here... Any clues help will be much appreciated.
Facebook gives a disclaimer above the permissions dialog, as the developer/owner of the app you don't need to heed it, you should already be able to grant yourself permissions to use it.