Thursday, 24 November 2011

Misso API and Oauth Connect

You want to use misso api to connect and getting user data then follow the following step.

1.Go to this url http://gomiso.com/developers/sample_code and download your code of php.

2. Extract the code and there is two file.

    a) request.php

    b) callback.php

3. Just change your consumer key and consumer secret key.

4. Now go to the following url, download oauth-php-175.tar.gz.

    http://code.google.com/p/oauth-php/downloads/detail?name=oauth-php-175.tar.gz&can=2&q=

5. After extract there is an oauth-php folder, place this folder with request and callback php file, according to your include_once "oauth-php/library/OAuthStore.php"; in request file.

6.Create a database php_test.

7.Open oauth-php folder and go to sql file, Path is following.

  oauth-php\library\store\mysql\mysql.sql => Import this file in your database.

8. Most important thing change your $callback_uri path in request.php file, My path is like this
  $callback_uri = 'http://localhost/oauth/misso/callback.php';//line 31(request.php)

9. for every time test empty oauth_consumer_registry table,other wise give error because you are doing same authentication second time for same user. other wise give error already exist.

10. Run your request.php and authorize the user on callback.php return user information.

11. use this information.


Download Misso Api and Oauth Authentication document of all detail from following

Misso API



For all view click on following.

http://www.docstoc.com/docs/document-preview.aspx?doc_id=104879280

No comments:

Post a Comment