Facebook App as Page Tab constantly gives an error - facebook

I am trying to add a Tab to a Facebook Fan Page.
I registered as a developer, and created an app.
In the upper part I filled out Display Name, Namespace, Contact Email and I selected Apps for Pages as my category.
In the integration part I selected the Page Tab section. Filled out the Page Tab Name, Page Tab URL, Secure Tab URL and selected a Page Tab Image.
Saved everything and noted the App-ID.
When I however logon to facebook using the fan-page-account and call up the URL https://www.facebook.com/dialog/pagetab?app_id=MY_APP_ID&next=www.facebook.com I constantly get an error stating: "An error occurred with DISPLAY_NAME_OF_MY_APP. Please try again later."
What am I doing wrong?
Thanks

It seems that Facebook has made another change and has not informed anyone. Below is a new link that appears to work. Just replace APP-ID with your application ID.
https://www.facebook.com/add.php?api_key={APP-ID}&pages=1

Related

Facebook (#100) App is not installed, when trying to remove a Page Tab Application

I get a "message: "(#100) App is not installed:" when i try to delete a pagetab application from a specific page using graph api.
Here are the steps to reporduce the problem.
Visit graph api explorer at https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me%3Ffields%3Did%2Cname&version=v2.0
Get an access token with manage pages permission and request me/accounts using GET method.
You will see list of pages you are admin / owner of. Copy an access token from the page you wish to delete a tab. And paste that access token at the top under the access token field.
Now click the id of the the page (from where u have copied the access token) and you will see page data as a result of api/2.0/pageId GET method. This data contains all the infomration of page tabs. If it works till this part. You can just add /tabs a the end of the above command to see the information of tabs. i.e. API/2.0/{PAGE_ID}/tabs
Now you will see a list of page tabs, click on the id of one of tabs that is added by you(Not the fixed ones like photos and like tab). The id should be in the form of API/2.0/{PAGE_ID}/tabs/app_{APP_ID}. And choose the DELETE method from the dropdown.
Now click the submit button and you will get Error 100.
I have spent quite much of the time in resolving this but its not working at all for me. Please try the above procedure and help me knowing if I am doing something wrong or is it a facebook bug. I did all the above steps according to the inromation provided under facebook documentation.
https://developers.facebook.com/docs/graph-api/reference/v2.0/page/tabs

Add Facebook App to Facebook Page

All,
I created a facebook application in the developers.facebook.com. Then on the basic page under how it integrates with Facebook I select Page Tab. I supplied the information because I'm hosting the page and now I want to display it on my Facebook page.
How can I actually display this application on my facebook page?
Thanks!
Adding as an answer for future reference:
Check http://developers.facebook.com/docs/appsonfacebook/pagetabs and make sure you've added all the fields necessary for the 'Add Page Tab' dialog to work; most likely the dialog will fail with Error 191 if you've included a redirect_uri field with a URL other than the one in your Page Tab Url or Site Url

API Error Code 191 when adding page tabs

I'm aware this is a very frequently asked question but I'm really new to this whole app development thing.
I am the admin of a facebook page and I want to add a tab to the side of the page. So I followed facebook's instructions and created the page tab, but when I tried to access the "add to page" dialog box, I got API Error Code 191:
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
The URL I was using for the box to appear was: https://www.facebook.com/dialog/pagetab?app_id=317467938291427&display=popup&next=https://www.facebook.com/287sqnatc/contact
(The contact at the end is the URL for the app I wish to add.)
Where have I gone wrong, and can someone explain it in simple 5-year-old terms?
next (or redirect_uri) parameter you pass to Add Page Tab Dialog should contain either URL owned by your application or special URL https://www.facebook.com/connect/login_success.html (intended to be used in desktop applications).
You can use FB.ui method of JS-SDK with method pagetab as shown in example of Add Page Tab Dialog documentation this will automatically provide redirect_uri for dialog and allow user to add page tab without leaving your application.

Where is the Facebook "Add To Page" to add an App to a Fan Page

1) I created a Facebook page http://www.facebook.com/WinePassionate
2) I created an App but didn't set any Canvas nor Page Tab URL.
But I keep reading that there supposed to be somewhere a "Add to Page" and I cannot seems to find it.
==============
UPDATE
When I try using the standard process to add the App to my Page
(as suggested by Miguel), I get the following error:
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
================================
The App Website URL is pointing to WinePassionate.com
Again I have nothing set for "canvas" nor for "App on facebook".
Would that be the issue?
It changed, application don't get pages anymore, to add the application to a page use:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL
more info here:
https://developers.facebook.com/docs/appsonfacebook/pagetabs/
Cheers!
"2) I created an App but didn't set any Canvas nor Page Tab URL. "
To be able to add your app as a page tab, you must specify settings for Page Tab. At least the url is required (no tab name in settings will default to the app's name for display).
First: Why do the apps we created not have the "Add to Page" options on them in first place like all the documentation shows us it should?
Second: Using that URL was confusing!
https://www.facebook.com/dialog/pagetabapp_id=YOUR_APP_ID&next=YOUR_URL
NOT YOUR URL at the end but this:
http://www.facebook.com/dialog/pagetab?app_id=APP_ID&next=http://www.facebook.com

unable to view APP PROFILE PAGE .... "The page you requested was not found"

Problem App: http://www.facebook.com/apps/application.php?id=299226733441387
For some reason I am unable to view any NEW ...App Profile Pages... after I create a basic page tab app!
When I click on the "View App Profile Page" I get the error "The page you requested was not found"
Also, if I use the canvas app section too, when I click on "View App Profile Page" it directs the browsert to the canvas page.
Previous apps created are NOT affected by this error!
Any one have any ideas on what this could be? Or how to resolve the error?
Based on the same thread, the workaround is to use this URL:
http://www.facebook.com/add.php?api_key=[APP-ID]&pages=1
Replace [APP-ID] with yours, and it should work.
I were struggling with same issue.I have read & found that fb is removing app profile page on 1st of Feb 2012.
So the process is to get app profile page is:-
Go to app setting->Advance tab->Contact info->Add page.
I have attached a snap shot.I hope that will help you guys.
Thanks