Comments (12)
When you instantiate your client, you can pass the OAuth details like so (from the README):
client = pytumblr.TumblrRestClient(
'<consumer_key>',
'<consumer_secret>',
'<oauth_token>',
'<oauth_secret>',
)
That should get you all set - let me know if you end up with more questions!
from pytumblr.
I am doing that. Maybe my oauth token and oath are wrong?
from pytumblr.
Could be - how are you getting the token & secret?
An easy way is to check out the API console at: https://api.tumblr.com/console and use the keys from there
from pytumblr.
Thanks! I never knew you could do that (it's quite useful), I was just following some instructions I found somewhere online.
So now, I can get the number of followers for my blog.
Does Tumblr allow me to get the number of followers of a blog other than mine? Because I still get errors when I try to get the number of followers, for example, that notoriousgifs.tumblr.com has.
from pytumblr.
You cannot get the followers or number of a blog you do not own or belong to, @peoplecallmefrancois.
from pytumblr.
Oh ok, thanks for the confirmation, I just had thought that maybe it was like Twitter in the followers sense (number of followers is public). Thanks for your help, and in the process I also got to know about the API console! 👍
from pytumblr.
Oh, a possible enhancement, maybe add a link to the API console to the readme, so it is easy for noobs like me to get it configured properly. @codingjester @seejohnrun
from pytumblr.
Sure. We're probably also going to create an interactive console so that
will walk you through the 3-legged oauth process.
On Tue, Jul 16, 2013 at 11:22 AM, peoplecallmefrancois <
[email protected]> wrote:
Oh, a possible enhancement, maybe add a link to the API console to the
readme, so it is easy for noobs like me to get it configured properly.
@codingjester https://github.com/codingjester @seejohnrunhttps://github.com/seejohnrun—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-21049483
.
John Bunting
Simplicity is prerequisite for reliability
--Edsger W. Dijkstra
from pytumblr.
API console links to individual projects on github links coming soon
from pytumblr.
have the same proble, after passing OAuth deteils still have this output:
{
"meta": {
"status": 401,
"msg": "Not Authorized"
},
"response": []
}
from pytumblr.
Are you trying to access a blog that you have access to? You can't see the followers or number of followers for say, my blog with your app keys without me authorizing your app.
from pytumblr.
Oh ok, thanks, @codingjester , I just assumed that Tumblr's followers system worked similar to Twitter's.
from pytumblr.
Related Issues (20)
- How do I get pytumblr into my project and get it running? HOT 2
- Adding source_url to a new post HOT 2
- Proposing a PR to fix a few small typos
- Scheduling posts
- source_url not added as a valid parameter
- How to send and receive tumblr messages via apis HOT 1
- API returns older posts than requested
- Upload v0.1.1 to pypi? HOT 1
- No way of returning all notes?
- Neue Post Format, post type filters, and content HOT 1
- Support for type hints? HOT 1
- Mention some requirements in interactive_console.py
- 'tags' problem HOT 1
- TypeError: expected str, bytes or os.PathLike object, not BufferedReader HOT 1
- Get keys for local application HOT 2
- May I know what need to input for the default callback in order to use this lib locally? HOT 1
- .tagged Method Returning Random Posts
- 'page_number' and 'tumblelog' missing in official docs and in 'posts' function
- poll support?
- `ValueError: Only unicode objects are escapable` on client.info() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytumblr.