This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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: | |
* |