Solid with Twitter API ? help me with inability to authorize

This is not related to the Twitter project here on FCC is but just a general problem I thought I’d ask about. I have this little app where I want give the users the chance to share a screenshot on social. So far I’ve been failing miserably.

This has no backend so it needs to send the authorization in the headers somehow. Using Oauth maybe? Not sure how to do this. It needs to be able to share an image in the tweet which is more complex than just text. All this has failed.

I’ve taken a step back now and I’m just trying to make a simple request to an endpoint to see if it works. It does not. Can anyone explain how I can get this to part to work? Or help me debug?

I’ve entered all my twitter keys properly and yet it does not authorize.