sign twitter rest request with oauth token

后端 未结 2 1477
误落风尘
误落风尘 2021-01-26 09:56

I have an app using the twitter rest API. Everything is working fine but we\'re bumping into rate limits so we need to authenticate using oAuth. I have the oauth token and secre

2条回答
  •  一个人的身影
    2021-01-26 10:35

    Using the TwitterOAuth PHP library it is as simple as this:

    get('account/verify_credentials');
    

    There are several more example requests in the demo index.php.

提交回复
热议问题