Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a photoset post using several urls #114

Open
aomizuan opened this issue Jun 24, 2018 · 3 comments
Open

Create a photoset post using several urls #114

aomizuan opened this issue Jun 24, 2018 · 3 comments

Comments

@aomizuan
Copy link

i cant figure out how create photoset using several urls
if someone could explain to me, it whould be great

@aomizuan aomizuan changed the title Creates a photoset post using several urls Create a photoset post using several urls Jun 24, 2018
@nobbyfix
Copy link

The Tumblr API doesn't allow to post a photoset using multiple urls, you'd have to send them using the data tag.
https://www.tumblr.com/docs/en/api/v2#posting

@Wittionary
Copy link

Wittionary commented Oct 20, 2018

#Creates a photoset post using several local filepaths
client.create_photo(blogName, state="draft", tags=["jb is cool"], format="markdown",
                    data=["/Users/johnb/path/to/my/image.jpg", "/Users/johnb/Pictures/kittens.jpg"],
                    caption="## Mega sweet kittens")

@poulp
Copy link

poulp commented May 16, 2019

I'm checking the documentation and I see that there is another endpoint to create a new post entry (/posts instead of /post wich is currently used and marked as legacy).

So it's possible to create a post with a photoset coming for severals urls images using the new format set up by the tumblr api (https://www.tumblr.com/docs/npf). But this change involve some extra work on this library because other post creation (text, video, etc.) will be impacted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants