how to parse this returned value in php
<p>I'm having a hard time parsing this. I know how to get the key up to access_credentials by doing this: $account['twitter']->access_credentials;. </p>

<p>But I can't seem to get the oauth_token or oauth_token_secret. I need to get this so I can save it to my session variable.</p>

<pre><code>[twitter] =&gt; stdClass Object
    (
        [id] =&gt; 1
        [third_party_uid] =&gt; 
        [access_credentials] =&gt; {"oauth_token":"xxxx","oauth_token_secret":"xxx","user_id":"1234","screen_name":"user_1"}
        [mds_user_id] =&gt; 15
        [type] =&gt; 
        [provider] =&gt; Twitter
    )
</code></pre>

<p>Please help.</p>
