Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* more README updates

* commented out tc url in app.php
* moved LICENSE
  • Loading branch information...
commit 833c8daa3a5040e0442119a8e40976f6032c93b7 1 parent 7fbb3fa
Henry Work authored
Showing with 11 additions and 5 deletions.
  1. 0  {docs → }/LICENSE
  2. +9 −3 README.textile
  3. +2 −2 app.php
View
0  docs/LICENSE → LICENSE
File renamed without changes
View
12 README.textile
@@ -1,18 +1,24 @@
h1. README
-TechCrunch MySpace OAuth tester app. By "Henry Work":http://www.henrywork.com
+TechCrunch MySpace OAuth tester app. By "Henry Work":http://www.henrywork.com. Files originally created by "Viphak Lay":http://viphaklay.com/.
h2. Requirements
-* pear http_request library "pear.php.net":http://pear.php.net/ (this is used for making http requests)
+* pear http_request library "pear.php.net":http://pear.php.net/ (used for making http requests)
* php 5.2+ _or_ "json-php":http://mike.teczno.com/json.html (used for json parsing)
+* MySpace Developer account: "MySpace Developer":http://developer.myspace.com
h2. Installation
# Install pear http_request library: sudo pear install http_request
+# Sign up to be a "MySpace Developer":http://developer.myspace.com
+# Put your CONSUMER_KEY and CONSUMER_SECRET in app-config.php
+# In 'Edit Details', configure the callback urls, external url, external domain
+# Configure your authorization url in app.php on line 72.
h2. Links
* "TechCrunch MySpace App":http://www.techcrunch.com/myspace/app.php
* "Original Data Availability article":http://www.techcrunch.com/2008/06/26/myspace-opens-up-the-data-pipe-with-launch-of-data-availability/
-* "Announcement of Tester App":http://www.techcrunch.com/2008/06/26/the-first-test-app-for-myspace-data-availability/
+* "Announcement of Tester App":http://www.techcrunch.com/2008/06/26/the-first-test-app-for-myspace-data-availability/
+* "Data Availability REST Resources":http://developer.myspace.com/community/myspace/da.aspx
View
4 app.php
@@ -68,8 +68,8 @@
$req_token = $myspace->OAuthToken->get_token_from_url($request_token);
$req_token_secret = $myspace->OAuthToken->get_token_secret_from_url($request_token);
- $auth_url = $myspace->OAuthToken->get_authorization_url("http://www.techcrunch.com/myspace/app.php?install=1&oauth_token=" . $req_token . "&oauth_token_secret=" . $req_token_secret, $req_token);
-
+ #$auth_url = $myspace->OAuthToken->get_authorization_url("http://www.techcrunch.com/myspace/app.php?install=1&oauth_token=" . $req_token . "&oauth_token_secret=" . $req_token_secret, $req_token);
+ $auth_url = $myspace->OAuthToken->get_authorization_url("YOUR_HTTP_URL/app.php?install=1&oauth_token=" . $req_token . "&oauth_token_secret=" . $req_token_secret, $req_token);
echo "Install a MySpace App: <a href=\"" . $auth_url . "\" target=\"_new\">click here</a>";
echo "<br/>";
Please sign in to comment.
Something went wrong with that request. Please try again.