Commit e3ff7291 authored by Prateep Bandharangshi's avatar Prateep Bandharangshi
Browse files

Update for new oauth library

parent 69817e77
......@@ -2,8 +2,8 @@
#
# Example code derived from:
#
# https://dev.twitter.com/docs/auth/oauth/single-user-with-examples#python
# https://github.com/brosner/python-oauth2
# https://dev.twitter.com/oauth/overview/single-user
# https://github.com/joestump/python-oauth2
#
import argos
......@@ -24,7 +24,6 @@ def oauth_req(url, key, secret, http_method="GET", post_body=None, http_headers=
method=http_method,
body=post_body,
headers=http_headers,
force_auth_header=True
)
return content
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment