How to create application id after converting facebook profile to official page - facebook

I made facebook profile long back and have created it to facebook page for business purpose. Now I need to access facebook API for programming, as per documentation I require application id for using facebook API, I am able to register in facebook developers but while creating apps it gives me below message.
Not Authorized To Manage Apps: This account is not authorized to manage
apps. Please use your verified personal Facebook account to create and
manage your apps.
If I create application id in my personal account than how can I assign that application Id to my official page?
I have tried creating application Id in my personal account but sometimes FB.getLoginStatus() gives response as "not authorized" but some times it gives "not login".
Cant figure out the problem, Can anyone please help me?
Thank You in advance.

You create a the app using your personal account. Then you create a page access token which is explained as https://developers.facebook.com/docs/facebook-login/access-tokens

Related

Unable to Login to My App Using Facebook Login

Our is a very old app and the developers who did the Facebook login integration are no longer working with us. So we can’t get into our Facebook Developer account because no one in the team has access.
Can we just create a new Facebook Developer account and update our integration ID to match the new account ?
Are there any risks? One thing I’m wondering about is if we do make this change if all the users who have previously registered via Facebook login need to register with us again because it is a new ID. But on the other hand, it might work since it is still the same App Id and the same Facebook user account.
Please help.

How to get Instagram direct API authentication

Facebook recently released a step-by-step documentation for using a GrapAPI to manage Instagram messages. To obtain the access token to use it, it's necessary to create an application in the developer center, enable login via Facebook and include the permissions "instagram_basic", "instagram_manage_messages" and "pages_manage_metadata" but to activate these options it's necessary to submit various information for approval as statement of how the integration works and descriptions of the usage flow. I don't have access to this information because I can't develop an integration without it being approved.
It's not possible to use the provided test user as the pages raised by him cannot be linked to Instagram accounts.
Tutorial followed: https://developers.facebook.com/docs/messenger-platform/instagram/get-started
Someone with some experience with the Facebook API could give me a light on how to obtain the token with access required and proceed the tests?
I have done the tutorial as well, I faced the same problem. To enable instagram_basic, instagram_manage_messages and pages_manage_metadata without app review you need to create a test-app. For test apps all permissions are granted without review.
Instructions on how to create a test-app
Another usefull tipp: If you are wondering why you need to implement facebook login to access the instagram messaging api, the logic is the following: You need to implement login to then use your own implementation to logg in your own account and obtain the page access key that will let you do api calls to the instagram messaging api. This process is obviously overkill and instagram is working on a way of getting that access token through the developer dashboard.
For now to obtain that access token you need:
implement facebook login as a simple html website and console log the response. Be sure to add the required permissions to the data-scope attribute of the facebook login button:
<div
class="fb-login-button"
data-scope="public_profile,email,instagram_basic,instagram_manage_messages,pages_manage_metadata,pages_messaging"
></div>
deploy to a website that has https enabled (logging in from
localhost will only work if you use a tunelling service like ngrok).
Open your website that has facebook login implemented and logg in with your facebook account that is also linked to the target instagram account and also is admin of your test-app.
get the access token from the response to call the other API endpoints.

Get permissions in the facebook admininterface without a legal company

How can I get an access token and an app token?
I have registered my app through this site https://developers.facebook.com/ I chose "business"
What do I want?
I want to get an access to posts of groups/users and comments. At first itll be enough if I will have an access only to open pages. Im not a company and when I tried to get it through the graph api (https://developers.facebook.com/tools/explorer/) I got the following error 'This endpoint requires the 'pages_read_user_content' permission or the 'Page Public Content Access' feature'. I chose these items(Facebook App->my app; User or Page->App token).
I tried to get these permissions in the admin interface of my app in FB in this section "Permissions and Features". Having send these requests it was written "You will need to complete this step in addition to App Review before you can access live data.
Business verification: You'll need to connect your app to a Facebook Business Manager account and upload an official document showing your business or organization's name and physical address.".
As I mentioned before Im not a company. May someone recommend me what to do next? Should I create a new app and choose something else instead of "Business"? Or should I send a request to the FBs support and explain to them my situation, if "yes", how can I find this support contacts? Actually I didnt find support contacts on their site, only the community form and their support associated with payment questions.
I tried to ask in their official community, but they didnt answer for 17 days
https://developers.facebook.com/community/threads/224348066049560/?post_id=224348069382893

Page Albums App

I've got an developper account, and a page with photo albums that I want to display on a website.
I'm trying to use Facebook Album Browser. The doc of this plugin says that I should create my on app to get an access token.
If I've understand correctly, I need a Page Access Token. But that's where I'm defently lost...
How to obtain it? There is no login action with this plugin, and I'll be the only one using this app. If I'm following the Facebook Dev Doc, it says that :
You do not need to submit your app if it will only be used by you or by a reduced number of people. Any account listed in the Roles tab in your App Dashboard, such as admins, developers and testers, can access all permissions and generate a user or page access token.
I'm the admin for this app and the admin for the page.
Can someone help me?
Thanks in advance.

What is needed to access another user's facebook posts ("App Not Setup")

I have a desktop app which uses a user access token to read the me/feed endpoint and I can see all the posts for the logged in user. If I wanted to simplify deployment to different users I would need to minimise the amount of setup/configuration they did.
Is there a way to access me/feed for a given userid rather than have to setup every user as a developer account and create an app for it?
I have looked at https://developers.facebook.com/docs/graph-api/using-graph-api/v2.0 and it is not obvious to me how to do this.
What configuration / permissions does the user in question need to do to activate this. Which access token should I be using, and will it give access to all the posts in the same way the user access token does.
[EDIT] I have looked at this again and the problem I am having is that when a user (who has a facebook account but is NOT a developer) tries to login to my App (which is in development mode) I get the following error
"App Not Setup: The developers of this app have not set up this app properly for Facebook Login."
Thanks in advance