I want to show all recent tweets of @ANWBverkeer in a layout.
I think I have to use “GET statuses/user_timeline”, but I am not sure about these two settings.
- Request URI: https://api.twitter.com/1.1/statuses/user_timeline.json
- Request query: screen_name=twitterapi&count=2
Do I need to change these or…?
Also, when I click on ‘Get OAuth Signature’, I get this:
Signature base string
GET&https%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fuser_timeline.json&count%3D2%26oauth_consumer_key%3DQ7nnvcVqEXYPSl8YmrQ82OaEK%26oauth_nonce%3D42f31a880d57b1234691aa3e6385a907%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1446711817%26oauth_version%3D1.0%26screen_name%3Dtwitterapi
Authorization header
Authorization: OAuth
oauth_consumer_key=“Q7nnvcVqEXYPSl8YmrQ82OaEK”,
oauth_nonce=“42f31a880d57b1234691aa3e6385a907”,
oauth_signature=“lwkqWK6C39%2BRHpCC%2BdJP7ch0Fdg%3D”,
oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1446711817”,
oauth_version=“1.0”
cURL command
curl --get
‘https://api.twitter.com/1.1/statuses/user_timeline.json’ --data
‘count=2&screen_name=twitterapi’ --header ‘Authorization: OAuth
oauth_consumer_key=“Q7nnvcVqEXYPSl8YmrQ82OaEK”,
oauth_nonce=“42f31a880d57b1234691aa3e6385a907”,
oauth_signature=“lwkqWK6C39%2BRHpCC%2BdJP7ch0Fdg%3D”,
oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1446711817”,
oauth_version=“1.0”’ --verbose
What do I need to do with this?