Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Gene Ellis
boom! That was it. Thanks so much guys! On Tue, Jun 21, 2011 at 2:27 PM, Abraham Williams <4bra...@gmail.com> wrote: > You have to make an API request first. There is no header info if a request > has not been made. > > Also you need to reset your consumer key/secret. > > > Abraham >

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Abraham Williams
You have to make an API request first. There is no header info if a request has not been made. Also you need to reset your consumer key/secret. Abraham - Abraham Williams | InboxQ | abrah.am @abraham | github

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Matt Harris
Hi Gene, I've added support for this into my library which I hope helps show you how to read this information. My library is on Github: https://github.com/themattharris/tmhOAuth and the example with the X-Access-Level is the verify credentials one here: https://github.com/themattharris/tmhOA

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Gene Ellis
And this is the code I used to dump this: $connection = new TwitterOAuth(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, $account['access_token_key'], $account['access_token_secret']); var_dump($connection); On Tue, Jun 21, 2011 at 2:00 PM, Gene Ellis wrote: > yep...that is what I did. This is

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Gene Ellis
yep...that is what I did. This is what I received back: object(TwitterOAuth)#1 (5) { ["http_status:private"]=> NULL ["last_api_call:private"]=> NULL ["sha1_method"]=> object(OAuthSignatureMethod_HMAC_SHA1)#2 (0) { } ["consumer"]=> object(OAuthConsumer)#3 (3) { ["key"]=> string(22) "Oa8K2pY7L19CL

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Scott Wilcox
var_dump the $connection object and find it in there. On 21 Jun 2011, at 19:55, Gene Ellis wrote: > Hmmmgetting closer but I don't see the http headers in there. I even did > a var dump, but didn't see anything related to http_info. Know where else I > could look? > > > > On Tue, Jun 21,

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Gene Ellis
Hmmmgetting closer but I don't see the http headers in there. I even did a var dump, but didn't see anything related to http_info. Know where else I could look? On Tue, Jun 21, 2011 at 1:35 PM, Abraham Williams <4bra...@gmail.com> wrote: > I can't test to confirm at the moment but I think I

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Abraham Williams
I can't test to confirm at the moment but I think I set up TwitterOAuth to include headers in the TwitterOAuth object. If you create a TwitterOAuth object like this: $connection = new TwitterOAuth($x, $y, $z, $a); Then you should be able to get the headers from the most recent request like this:

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Gene Ellis
I believe I am using the PHP Twitter libraries because I see Oauth.php and TwitterOauth.php being included in the script. I recently took this project over from the other developer and I am new to twitter programming, which is why I am unsure on how to grab that access level for the users in my dat

Re: [twitter-dev] A few updates about the permission model change

2011-06-21 Thread Scott Wilcox
Are you using any libraries? On 21 Jun 2011, at 18:59, Gene wrote: > Hi Matt, > > Can you please give a quick example on how to get the X-Access-Level > value. My application runs on PHP and I would like to get the X-Access- > Level for all of the users in my application and store it into a > da