Skip to content

Commit 75ab9d1

Browse files
committed
Update Oauth.php
Little formatting changes
1 parent 5bd649a commit 75ab9d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Oauth.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
** TwitterAppAuth.py
3+
* TwitterAppAuth.py
44
*
55
* Created by Jon Hurlock on 2013-03-20.
66
*
@@ -33,7 +33,6 @@ function get_bearer_token(){
3333
"POST /oauth2/token HTTP/1.1",
3434
"Host: api.twitter.com",
3535
"User-Agent: jonhurlock Twitter Application-only OAuth App v.1",
36-
//"Authorization: Basic ".$base64_encoded_bearer_token."",
3736
"Authorization: Basic ".$base64_encoded_bearer_token."",
3837
"Content-Type: application/x-www-form-urlencoded;charset=UTF-8",
3938
"Content-Length: 29"
@@ -95,4 +94,4 @@ function search_for_a_term($query){
9594

9695
// lets run a search.
9796
print search_for_a_term("test");
98-
?>
97+
?>

0 commit comments

Comments
 (0)