コード例 #1
0
        ?>
-<?php 
        echo $data['dc'];
        ?>
</strong> which can be passed into most API wrappers.
            </li>
            </ol>
            <h2>Want to see an authorization fail?</h2>
            The <strong>code</strong> being exchange for an OAuth Access Token expires within 30 seconds - simply refresh this page in a minute.

           <h3>Want proof? Here are 5 of your lists:</h3>
<ol>
<?php 
        $apikey = $session['access_token'] . '-' . $data['dc'];
        $api = new MCAPI($apikey);
        $api->useSecure(true);
        $lists = $api->lists('', 0, 5);
        foreach ($lists['data'] as $list) {
            ?>
<li><?php 
            echo $list['name'];
            ?>
 with <?php 
            echo $list['stats']['member_count'];
            ?>
 subscribers</li>
<?php 
        }
        ?>
</ul>
           <br/><br/><br/>