In a Asp.net Core application I want to create a photo album on a page I manage.
In a console application I have been able to create a photo album and upload a photo to that album. The access token I used I obtained via the Facebook graph api explorer.
Now I need to obtain the accesstoken from within the web application.
My application use Azure AD authentication and I do not want endusers to authenticate with facebook, that is not needed since they are not posting to facebook and the application will not post to their facebook account.
So how do I implement this?