A simple approach to getting Delegated Authentication Tokens and using them to call Graph Endpoints.
Just replace the clientId varaible with your App Registration Client ID and start building.
Supports token caching, so users don't need to log in everytime the application starts.