rauchg / blog

https://rauchg.com
1.24k stars 175 forks source link

Handle Twitter profile pic `onError` event #110

Closed steven-tey closed 2 years ago

steven-tey commented 2 years ago

This calls the /api/update-dp.js endpoint if a user's DP is outdated.

Based on this gist: https://gist.github.com/steven-tey/cce50c86764ab790da51c98e1a9b8a69

@rauchg you will need to configure TWITTER_AUTH_TOKEN – that's the auth bearer token that you can get from developer.twitter.com

vercel[bot] commented 2 years ago

Someone is attempting to deploy a commit to a Personal Account owned by @rauchg on Vercel.

@rauchg first needs to authorize it.