Hi all I got the pyramid example working under python 3.5 virtualenv and pyramid 1.7.
I copied the local_settings.py.template to local_settings.py and added a Key and Secret for Twitter.
So I think I'm barking up the wrong tree here? How do I complete the user auth 'pipeline' with the Pyramid example?
curl --get '
https://api.twitter.com/oauth/request_token' --header 'Authorization: OAuth oauth_consumer_key="<key>", oauth_nonce="<nonce>", oauth_signature="1vY7my3ByLT8WTvQZdraz0lEDJ8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1471801565", oauth_version="1.0"' --verbose
* Trying 199.59.149.199...
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: DigiCert SHA2 High Assurance Server CA
* Server certificate: DigiCert High Assurance EV Root CA
> GET /oauth/request_token HTTP/1.1
> User-Agent: curl/7.43.0
> Accept: */*
> Authorization: OAuth oauth_consumer_key="<key>", oauth_nonce="<nonce>", oauth_signature="1vY7my3ByLT8WTvQZdraz0lEDJ8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1471801565", oauth_version="1.0"
>
< HTTP/1.1 200 OK
< cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
< content-length: 121
< content-type: text/html;charset=utf-8
< date: Sun, 21 Aug 2016 17:46:15 GMT
< expires: Tue, 31 Mar 1981 05:00:00 GMT
< last-modified: Sun, 21 Aug 2016 17:46:15 GMT
< ml: S
< pragma: no-cache
< server: tsa_a
< set-cookie: guest_id=v1%3A147180157567112851; Domain=.
twitter.com; Path=/; Expires=Tue, 21-Aug-2018 17:46:15 UTC
< status: 200 OK
< strict-transport-security: max-age=631138519
< x-connection-hash: 6599a643472919806b047e9b04cbfa09
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-response-time: 142
< x-transaction: 00430a9d00fd0a74
< x-twitter-response-tags: BouncerCompliant
< x-ua-compatible: IE=edge,chrome=1
< x-xss-protection: 1; mode=block
<
oauth_token=foo&oauth_token_secret=foo&oauth_callback_confirmed=true