How can i make my iframe app visible for everyone? - facebook

I'm new to Facebook app development and I ran into a stupid issue:
I made a simple app consisting of a flash player embedded in an iframe stored on my server and then I added it (as a tab) to a Facebook Event page I also created.
My problem is that the iframe will only load the page's content if the user's role is mapped in the app settings; it works fine for me since I'm the administrator and I believe my test users can also see it quite well, but for everyone else the iframe is blank.
Any ideas on how to make it visible for everyone?
Thanks in advance
Edit:
Content page is here:
http://livextend.com/facebook/nosajthing_musicbox/
Tab is here:
http://www.facebook.com/pages/Nosaj-Thing-no-Musicbox/174470872628888?sk=app_214393448619749

Sounds like your app is in Sandbox Mode. If it is, you're right - only Admin, Devs, and Testers will be able to use / see the app. If you want everyone to see it, disable Sandbox Mode:
Go to https://developers.facebook.com/apps/
Select your app and then Edit Settings
Settings > Advanced
In Authentication section, set Sandbox Mode to Disabled

Related

The developers of this app have not set up this app properly for Facebook Login?

I'm trying to make a login with Facebook available in my script. I've done everything, but when I attempt to login with a Facebook account I get this error from Facebook:
Error
App Not Setup: The developers of this app have not set up this app properly for Facebook Login.
Here's error screenshot:
Any ideas?
the problem was you have to set
Do you want to make this app and all its live features available to the general public?
set status and review to ON and problem solved
enjoy coding
With respect to the all the other answers, here's the screenshot to help someone.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
The circle next to your app name is not fully green. When you hover mouse on it, you'll see a popup saying, "Not available to all users because your app is not live."
So next, you've to make it publicly available.
Click on setting at left panel. [see the screenshot below]
In Basic tab add your "Contact Email" (a valid email address - I've added the one which I'm using with developers.facebook.com) and make "Save changes".
Next click "App Review" at left panel. [see the screenshot below]
Look for this, Do you want to make this app and all its live features available to the general public? and Turn ON the switch next to this.
That's it! - App is now publicly available. See the fully green circle next to the app name.
Since the UI of the facebook has changed recently, here's the latest update for setting the sandbox mode ON/OFF :
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
Go to 'Status & Review' from the table in the left side of the page.
Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
Update:
The YES/NO button will be disabled until and unless you provide your contact email.
Go to "Settings" in the left menu.
Update your Contact Email.
Hit the "Save" button at the bottom of the page.
Update:
'Status & Review' is replaced by 'App Review' now
If the app is still in private mode (Status and Review set to NO), then only Facebook users with role in the app can login.
That unless you set it to public (Status and Review set to YES).
To add more users to be able to login to a private app:
Go to https://developer.facebook.com
Go to Apps -> "Your app" -> Roles
Choose Add Administrator,Developer or Tester.
Many reasons including:
Sandbox mode is ON
Domain name is different
Site URL is different.
This error also occurs when you try to log in in your test version of the Facebook app and you have not added the user you are trying to test the log in with in the Roles -> Testers section.
To fix it, just add the email address of the Facebook account you are trying to log in with in the section above.
Finally, make sure the user you added accepts the request sent before you try to test otherwise the log in process will fail in the second screen just after the user accept the conditions.
Make Sure in left panel App review tab selected (Your app is currently live and available to the public.) tab is ON and App status is GREEN
Happy Programming
And addition to all these beautifull comments dont forget to Start A Submission
There are a bunch of possible things which could trigger this error:
In your case, you just need to add your facebook account into either tester, developer or admin of your facebook app as you want to use that account to test.
But if you see the error upon clicking connect to facebook(before you have chance to enter facebook credentials), then it means your current facebook account detected from cookie is not a valid tester/developer/admin account for your app.
Your could either add your account in or just hit facebook.com and sign out(to remove the undesired cookie).
I had the same problem but now here is how I solved it
Go to https://developers.facebook.com/
• Click on the Apps menu on the top bar.
• Select the respective app from the drop down.
• Click Settings from the table in the left side of the page
• Then under the Contact Email type in your email you would like to use
• Then click save settings button
• Go to 'Status & Review' from the table in the left side of the page.
• Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
For other users that run into this issue, the app I was testing against was a test version of our production app and didn't have the option to turn status and review to ON as others have mentioned here.
The fix was to create a new app which is not a test app, and configure it like the production version. The non-test version allows the option to turn status and review to ON.
My specific use was testing a user registered with a phone number instead of an email address. I tried adding that user into different roles of our test app (Developer and Tester), but to no avail. My guess is it has something to do with the user not having an email associated with it.
Here's more info on test apps: https://developers.facebook.com/docs/apps/test-apps
Hemang's answer was right, BUT, there's one extra step you'll need, which is to add a Facebook App ID. (I discovered I was missing this part):
Once you've done that in addition to Hemang's answer, you'll be good to go!
Okay - sandbox is off, domain has to be correct because 99% of the users can reach the app, and "all its live features available to the general public" is set to yes.
Now, You need to add a "Privacy Policy URL" in the App Details tab (developers.facebook.com).
This is a new Policy of Facebook.
This resolved my issue if you do not want to make the app available to the public (keeping Status & Review on NO)
I had to sign out of the previous account on the Facebook App and also remove the Facebook account in Settings. Removing just from the Settings will not remove the error because the App itself still has the previous account logged in.
If you have set your Roles as Administrator/Developer/Tester, you can put in that account login info in and it should work then.
do setup by following bellow link and domain name you need to mention as like wht you have mentioned in facebook app domain name.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
This is because you didn't make your Facebook app live. For this go to:
Facebook developer page->Select your app->you will see top of the right your live option is disable and click to enable it->It will refer to you in "basic setting section"->You have to add "privacy policy url" and "Terms and services url" also you may select app category->then save the setting.
Note: You can use any blogspot or website to make your privacy policy also terms and condition page.Both I gave same url which worked.
after a lot of tries, I've read in other topics which someone said "delete all your apps and create it again". I did that but, as you can imagine, a new App will create a new Application ID on Facebook's page.
So, even after all the "set public things" it didn't work because the application ID was wrong in my code due to the creation of a new App on Facebook developer page.
So, as AndrewSmiley said above, you should remeber to update that in your app #strings
Set LoginBehavior if you have installed facebook app in your phone
loginButton.setLoginBehavior(LoginBehavior.WEB_ONLY);

How to hide a tab from a fanpage 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?
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.
Here I'm not referring to a custom built app, but apps like Static HTML.
Any one who has experience with this?
Enable sandbox mode in the app settings.
Goto dev https://developers.facebook.com/apps
Click on the app in the left hand column.
Under setting look to see if Sandbox mode is on or off.
If you want to change the setting click "Edit Settings"
The Sandbox setting is under basic settings.
For you and the client to test the app you have to give them permissions by adding them as a tester/developer/admin of the app. https://developers.facebook.com/docs/ApplicationSecurity/

Facebook app works only with admin

I've created a facebook app for my site and an html page where i can login into the user account allowing the app for do that...
So, this work correctly when i attempt to logon with the my account, that are the ADMIN of the page, but with other else account, the facebook popup window retrieve an error (with no useful details).. my sensation is that the app is not open to the public, how i can open it for the public?
Are you sure you haven't forgotten to take the app out of Sandbox mode in the app's advanced settings?
By default sandbox mode is not enabled, but yes try this way. If it's not that can you please bring us some code?

Why is my Facebook app in a Page Tab not appearing to non-admin users?

I have a Facebook app running in a Page Tab (the tab of a Facebook Page for an organization). The Page Tab URL (and Secure Page Tab URL) points to a URL on my own server which holds a PHP page that contains an iframe of a Google Calendar.
The app works perfectly fine when I open the Page using the admin account (both http and https). But when I open the Page using the user account of someone who has 'Liked' the Page, the app does not appear at all (both http and https). Any suggestions? Thank you.
Check if the app is in sandbox mode, in the Advanced section of the Settings here:
https://developers.facebook.com/apps
I believe that is the problem.
You may overlooked the "sandbox" setting that should be "disabled", this could be one explanation as per the answer above. If this have not answered to your question, than you may find another explanation here:
http://developers.facebook.com/docs/appcenter/guidelines/
Basically, if your application doesn't do anything it will probably not be approved and it will not be visible to nobody, except you - the developer. There are other issues, like copyrighted infringement and so on... please read.
(Also, just in case you are interested, it should be installed by more than 30 times, I guess different persons, in order to be "searchable").

How do I get a Facebook app I've created to show up on a Facebook "Page"?

I have successfully created a Facebook application. I have successfully added the application to my Facebook "Page". After I do this, no link for the app shows up in the menu on the left. This seems like something that should be simple to do, yet I can't find any documentation that is up-to-date. Any help is greatly appreciated.
Configure the Page Tab settings in your application settings under Facebook Integration.
Go to the developer page where you get the list of your apps.
Click on the more link next to your app, and choose Application profile.
Once you are on the app profile, on the sidebar menu click on Add to my page and choose the page where you want to add the tab.
Note that you must have your app tab configured properly inside your app configuration in order to get this to work i.e. setting the correct domain and tab file.
If you are logged in as the page, I suggest you either creating a profile ID and log in as it, or the solution that #ifaour pointed out, although it will be difficult to find your app inside the search engine that FB provides.