2 Answers
2

Have you added the app to the app profile page, and/or double checked that it is added as an app? It seems odd, but you can add/remove the app from the apps own page. I'm guessing if the app isn't added, then it wouldn't have access to the page information.

An alternative option is to get an access token for the application, not the current user. This page has instructions for getting an access token for the app, instead of the user. Scroll down to the "App Login" section.
http://developers.facebook.com/docs/authentication/

i want to add a custom tab (application) to a page by using graph api. While i am able to do that to a normal page, i am unable to add a custom tab to an application profile page by using graph api.
–
Pipalayan NayakSep 17 '11 at 13:05

You can just add a tab. You have to add an application that can be accessed via a tab. First you add the app to your page, then you indicate whether you want it shown as a tab or not. The app has to support/be configured to support pages.
–
Brent BaisleySep 17 '11 at 17:24

Exactly that is what i am saying.. i am unable to add a app to a different app profile page by using graph api
–
Pipalayan NayakSep 17 '11 at 17:40

That's because a user must grant permission to add an app to a page. Apps can't add themselves, even if the user is an admin of the page. An app can only prompt the user for permission to do something.
–
Brent BaisleySep 18 '11 at 3:26

you are getting it all wrong .. i suspect :) I already have a access_token with manage_pages permission. I should be able to add custom tabs to a page by using this token and graph api. While i am able to add a custom tab to a normal page, i am not able to add custom tab to a application profile page.
–
Pipalayan NayakSep 18 '11 at 6:25