Expanding the Twitter Auth extension
[image.png]
Those other API calls are about as complex as the ones constructed in these GET calls. The simplest way would be to duplicate these endpoints and revise them to use the auth token and authenticate the next call.
[image.png]
I'm wondering if anyone knows what needs to be revised to do so?
I took a stab at it. It's the endpoint '/2/tweets' in this snippet: https://www.xano.com/snippet/2d_M-7Ek
I am following the auth request instructions here: https://developer.twitter.com/en/docs/authentication/oauth-1-0a/authorizing-a-request
And trying the basic get timeline call: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-home_timeline
I run through the first two endpoints, which saves an oauth_token to the user database. I take that and use it in the parameter in the new endpoint I made, but still get this error:
code:Â
ERROR_CODE_ACCESS_DENIED,
message:Â
Could not authenticate you.
Templates & Extensions
2 replies