Johannes

Johannes

Completed

At Buffer, you can prefill the text and URL to share via URL-Parameters to the Create Post dialog, e.g., https://publish.buffer.com/compose?url=URL&text=MyText

This would be really helpful if this is possible for the /posts/create endpoint as well.

Besides the text and URL, it would be helpful if it is possible to provide the time to publish the post and the accounts to select as well.

Then you can create a JavaScript Bookmark which takes the title and URL of the current website. Or create a Button inside the WordPress Block Editor to share the current post with the title, URL and set a time if the post is scheduled.

Sascha Foerster

Sascha Foerster

·

@Johannes Does it work as expected? I saw the API documentation but didn't see a description of this way of creating a post.

no votes yet
Johannes

Johannes

·

Hi @Sascha-Foerster,

yes, I've submitted a PR. You can add link, title and body as URL parameters to the /posts/create endpoint.

@Dima-Botezatu could you add this to the documentation?

no votes yet
Sascha Foerster

Sascha Foerster

·

@Johannes Can I also define the workspace, if there are multiple workspaces? :) I would like to integrate that with our Wekan-Kanban-Board, so the content can easily be transferred.

no votes yet
Johannes

Johannes

· ·

@Sascha-Foerster

yes, the full URL of the /posts/create endpoints contains the workdspace UUID e.g. https://mymixpost.com/mixpost/my-uuid-sdfdsfs/posts/create

1 total vote
Sascha Foerster
Sascha Foerster

Sascha Foerster

·

I tried it with ?url=URL&text=MyText, but doesn't seem to work. What's the correct syntax? :)

no votes yet
Johannes

Johannes

·

@Sascha-Foerster link, title and body e.g. ?link=URL&body=MyText

no votes yet
Johannes

Johannes

·

I just found out how to set the schedule datetime. You can add YYYY-MM-DD HH:MM to the URL after /create e.g. https://mymixpost.com/mixpost/my-uuid-sdfdsfs/posts/create/2024-05-01 12:00

no votes yet
Johannes

Johannes

·

If someone needs a Bookmark to share a link with Mixpost: https://gist.github.com/goaround/e669fffe013bcc63ebbf85bf04e0745b

no votes yet

You may use @ to mention someone.

Prefill Text, URL, Time for new Post from URL-Parameter

5 total votes
Sascha Foerster jan Oluwatobi Dima Botezatu Johannes
  • Dima Botezatu moved item to board Live

    1 year ago
  • Dima Botezatu moved item to project Mixpost Pro

    1 year ago
  • Johannes created the item

    1 year ago