twitter app in pc work with username and password
without redirect to twitter website … without open popup frame for give permission
Twitter app for Windows How does it work?
sniff network -> when Twitter Windows app is running :
result:
`
GET https://api.twitter.com/1.1/users/show.json?user_id=335522973 HTTP/1.1
Accept-Encoding: gzip, deflate
X-Twitter-Client-Version: 4.3.4.0
X-Client-UUID: cf7937d7-39f0-4a42-bc92-6eac9262f1db
Accept: application/json
X-Twitter-Client: TwitterForWindows
User-Agent: TwitterForWindows/4.3.4.0
Accept-Language: en
Authorization: OAuth oauth_nonce="fd4e92615ef94e***eaf35c95e5", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1456055089", oauth_consumer_key="TgHNMa7WZ**JbkAMQ", oauth_signature="olsWxfuN1O%2FO***B0zKK0M%3D", oauth_version="1.0"
Host: api.twitter.com
Connection: Keep-Alive
Cookie: pid="v3:1456055075969059398092841"; guest_id=v1%3A145605507515823066
//----------------
POST https://api.twitter.com/1.1/push_destinations/create.json HTTP/1.1
Accept-Encoding: gzip, deflate
X-Twitter-Client-Version: 4.3.4.0
X-Client-UUID: cf7937d7-39f0-4a42-bc92-6eac9262f1db
Accept: application/json
X-Twitter-Client: TwitterForWindows
User-Agent: TwitterForWindows/4.3.4.0
Accept-Language: en
Authorization: OAuth oauth_nonce="fd4e92615ef94e***eaf35c95e5", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1456055089", oauth_consumer_key="TgHNMa7WZ**JbkAMQ", oauth_signature="olsWxfuN1O%2FO***B0zKK0M%3D", oauth_version="1.0"
Content-Length: 283
Content-Type: application/x-www-form-urlencoded
Host: api.twitter.com
Connection: Keep-Alive
Cache-Control: no-cache
`
i use this lib:
My main question is this:
Where i should insert my username and password?
The Windows software use consumer key
but use consumer key ,OAuth ,username and password together
Where should I give my username and password?
I can not find:
https://dev.twitter.com/rest/public