We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd649a commit 75ab9d1Copy full SHA for 75ab9d1
Oauth.php
@@ -1,6 +1,6 @@
1
<?php
2
/**
3
-** TwitterAppAuth.py
+* TwitterAppAuth.py
4
*
5
* Created by Jon Hurlock on 2013-03-20.
6
@@ -33,7 +33,6 @@ function get_bearer_token(){
33
"POST /oauth2/token HTTP/1.1",
34
"Host: api.twitter.com",
35
"User-Agent: jonhurlock Twitter Application-only OAuth App v.1",
36
- //"Authorization: Basic ".$base64_encoded_bearer_token."",
37
"Authorization: Basic ".$base64_encoded_bearer_token."",
38
"Content-Type: application/x-www-form-urlencoded;charset=UTF-8",
39
"Content-Length: 29"
@@ -95,4 +94,4 @@ function search_for_a_term($query){
95
94
96
// lets run a search.
97
print search_for_a_term("test");
98
- ?>
+ ?>
0 commit comments