What permissions should be reviewed for custom tab with an iframe? - facebook

I'm trying to build a custom tab for a Facebook Page that will simply have an iframe. It seems like I have to put this through Facebooks review process, but I'm not sure what permissions I should enter it for.
I've been using this guide (https://developers.facebook.com/docs/pages/tabs/) to get the tab up and running. I have the info filled out for the content I want to pull in, I set the App live, but when I try and view the app, I get the message "Misconfigured App Sorry, MY_APP hasn't been approved for display in App Center."
Some more research makes it seem like it might have to be approved by Facebook to set live, but I'm not seeing anything in the Permissions and Features requests that correspond with what my app does (the actual content being pulled in is a simple text field that takes a zip code as an entry).

Related

Can't submit Facebook Request for App Review - form has unticked criteria

I'm using a plugin (xyzscripts) in wordpress to automatically make a facebook post when I add a blog item to the website.
I need to create a Facebook App to be able to authorise the plugin to be able to this (to login to my facebook admin account and select the page it's to be posted onto from within wordpress)
The instructions have been fine so far and I'm at the stage of submitting the app for review by facebook but the application form needs to be classed as 'complete' before it can be submitted and there are 2 tickboxes which are not ticked and I'm not sure how to get them to tick?! It's not a tickbox that I can select, it seems facebook validates whether the criteria is complete based on the form, so although I think it's complete facebook doesn't and I'm not sure what else to add to make those tickboxes tick... in order to be able select 'submit for review'.
There's a screenshot linked to below showing what I'm referring to, of the tickboxes which aren't ticked.
Has anyone had this problem? Can the form see whats in the video and it already thinks it's not good enough? I have included the words 'pages_manage_posts' and 'pages_read_engagement' in the text describing why the app needs these permissions as I thought that might be a validating factor but nope, still no tick.
Any help much appreciated, thanks.
image of the facebook page showing the tickboxes which aren't ticked
I have included the words 'pages_manage_posts' and 'pages_read_engagement' in the text
You need to add the actual permissions to your submission, not just “mention” them.
Go to this section in your app dashboard, and click the “request” button next to those two permissions:
https://developers.facebook.com/docs/app-review/submission-guide#step-1--select-permissions-and-features

How to hide a pre-built app tab from a fanpage temporarily during development

I'm wondering how to hide a Facebook tab from a published fanpage while the tab is under development, so that it only appears for page Admins?
I know you can do this for custom built apps (the sandbox setting), but here I'm not referring to a custom built app, but prebuilt apps like Static HTML.
In order to edit tabs it seems that they have to be added to the page, in order to be able to edit them. That's a problem when customizing a Facebook tab, as you don't want your fans to see your work-in-progress content until it's ready to be published.
Any one who has experience with this?
You could show it only when an admin is logged in by checking the session.
I can't help you more because there is too few information of what you're using..

Displaying iframe content on a facebook page from a custom url

I am trying to create a system which allows customers to add a Facebook page as an add-on to what our business offers. Ideally I want users to click a button from our site which creates a page for them on Facebook which contains an iFrame in which content is served by us from our site.
I've never done any work with Facebook before, I don't really understand how the whole app thing works (I don't really use it personally as well) and I'm not sure what the best way to achieve what we seek. I have read a few tutorials on the fb developer site, which were all completely out of date, but I created an app of type 'App on Facebook' that displays a canvas url with an iframe which displays some content.
However, what I really want is to do one of the following:
1) Create an app that can be added to someone's page, which takes a custom url and displays this url in the iframe on the canvas page.
For example, a user called bob initialises the facebook integration from our site, we automatically create a page for them, add the app we have created, and provide a url like http://ourcustomurl.com/bob which is a link to some content from our site which is then displayed in the iframe.
2) Another option I thought would be possible would be creating a new app for every user who enables the facebook integration from our site, and just setting the canvas url on creation. But this option doesn't sit well with me, we don't really want to create an app for people, but a page.
You can't create a Facebook Page or an App via the API
If i understand correctly you want page admins to install your app into a tab on their page, and have different content displayed on that page tab depending on which page it is.
Check this document: https://developers.facebook.com/docs/appsonfacebook/pagetabs/
The main takeaway you should have is that you can use the signed_request which is sent to your app to determine which Facebook Page the App is being loaded from and decide on your side which content to display based on that

Custom Tab name reverts to original when the app is selected

I have some weird problems with facebook's custom tab name.
I made a sort of app generator and installed two test apps on a facebook page, as tabs.
The custom tab name can be changed from inside the app and it seems to work ok at first. For example, when you access the Facebook page or a tab like Wall, Photos, etc. the tab names for the apps are the custom ones set from inside the app.
However, if you select one of those apps, the custom tab names revert to their original tab names, the ones set inside Facebook's app developer.
I tested this with 3 different browsers (Opera, Firefox and Chrome), with my account as the app administrator, with a test user for the app account and with an account not related to the app (although this account was also a tester for the app, until I removed it).
Everytime it happened the same.
Is this how the custom tab name should work or is it a sort of Facebook bug?
[edit]This is the link to the page: http://www.facebook.com/pages/My-Great-Demo/141137282644944?sk=app_215275071852681
I don't have a detailed answer for you yet but I've experienced the same and understand from several sources that this is a Facebook bug introduced lastnight with some changes. It appears to be causing grief for a lot of people and Facebook is apparently working on a fix.

How do I create a Facebook application for use only on page tabs?

I'm currently creating a very basic Facebook application and I've run into a bit of a roadblock, so any help would be appreciated.
My application is as follows: I want to have the application pull records from my database that the user has added to my site off of Facebook and display them in a tab on one of their fan pages. Everything the user could add or edit will be done on my site (not on/through Facebook) so all I need to do is have my application check which page is requesting and display their records. I imagine the install will go something like this: user signs up on my site, user adds app to their page, user links their account and fan page (thinking of the best way to do this), user adds records.
The problem I'm running into is there's barely any information on the new Facebook PHP-SDK (does not use the require_login() method) and I'm not really sure how to start. Again, the only functionality I need on the Facebook end is for them to be able to add my application to their fan page and be able to distinguish between which page is requesting my app.
Does anyone have any resources for creating a basic application with the new SDK? Facebook's dev section is absolutely no help for beginners and I'm pulling my hair out despite a pretty solid grounding in backend development.
Thanks!
tab apps have some limitations comparing to regular fb apps. You can read about those here.
How to make a tab - register a facebook app, fill out "Tab Name" and "Tab URL" fields in the profiles settings (you might need to fill out "canvas" settings first).
Now all tabs will be loaded from "Tab URL" on your server. How to find out who is tab owner - check for fb_sig_profile_user request parameter in your tab page handler, which contains owner's user id.
This should get you started.