vtemian / buffpy

Simple to use python library for Buffer App
MIT License
23 stars 29 forks source link

How to use BuffPy with token generated by https://bufferapp.com/oauth2/authorize?client_id=XXXXX #3

Closed ddofborg closed 10 years ago

ddofborg commented 10 years ago

Hi!

Nice module! Seems to work when you use access_token found in https://bufferapp.com/developers/apps, but it doesn't work when you use the code returned after the user gives permission through https://bufferapp.com/oauth2/authorize?client_id=XXXXX

As far as I can see the following is not done:

POST https://api.bufferapp.com/1/oauth2/token.json

POST Data
     client_id=...&
     client_secret=...&
     redirect_uri=...&
     code=...&
     grant_type=authorization_code

See https://bufferapp.com/developers/api/oauth for more info.

Thanks!

-- ddofborg

vtemian commented 10 years ago

Yes, indeed it doesn't support acquiring new access_tokens using buffer's model.

If you only need a single access token, we will automatically generate that for you after you have created an app. (from https://bufferapp.com/developers/api/oauth)

I will mark this as a features and include it in version 1.1

ddofborg commented 10 years ago

Hey!

I get it.

Do you have an estimate when 1.1 will be released? 

Thanks, Groet,

Dennis

On Sun, Mar 2, 2014 at 8:46 PM, Vlad Temian notifications@github.com wrote:

Yes, indeed it doesn't support acquiring new access_tokens using buffer's model. If you only need a single access token, we will automatically generate that for you after you have created an app. (from https://bufferapp.com/developers/api/oauth)

I will mark this as a features and include it in version 1.1

Reply to this email directly or view it on GitHub: https://github.com/vtemian/buffpy/issues/3#issuecomment-36464185

vtemian commented 10 years ago

By the end of this month, but maybe this feature a little bit earlier, like next week.

ddofborg commented 10 years ago

Hi!

Next week would be great. Thank you very much!!

Regards,

Dennis

On 2 mrt. 2014, at 21:35, Vlad Temian notifications@github.com wrote:

By the end of this month, but maybe this feature a little bit earlier, like next week.

— Reply to this email directly or view it on GitHub.

ddofborg commented 10 years ago

Hey! I see this feature in testing phase. I can test it for you as well.

vtemian commented 10 years ago

Awesome! Thanks!

On 11 March 2014 11:29, ddofborg notifications@github.com wrote:

Hey! I see this feature in testing phase. I can test it for you as well.

Reply to this email directly or view it on GitHubhttps://github.com/vtemian/buffpy/issues/3#issuecomment-37276758 .

Vlad