Skip to content

Instantly share code, notes, and snippets.

Avatar

Interludic interludic

View GitHub Profile
View meetup_oauth_example.php
<?php
/*
* This is a simple example of using PHP's OAuth extension to fetch a valid
* token for a given member. The process is a typical OAuth 1.0a flow, which
* includes requesting a member's authorization to act on her behalf and then
* fetching the actual token once authorized. This token can then be stored
* and used to make API calls on the member's behalf. For an example of making
* such a call once you have retriefed an authorized token, see:
*
You can’t perform that action at this time.