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

What is the status of using api sdk? #36

Open
maZahaca opened this issue Nov 23, 2021 · 0 comments
Open

What is the status of using api sdk? #36

maZahaca opened this issue Nov 23, 2021 · 0 comments

Comments

@maZahaca
Copy link

Hello,

Before I was using medium sdk as the following:

const client = new sdk.MediumClient({ clientId: INPUT_APP_ID, clientSecret: INPUT_APP_SECRET });
client.setAccessToken(INPUT_ACCESS_TOKEN);

await client.createPost(...);

As I understand for now applications are deprecated.

Support reply:

We don't allow any new integrations with our API.

The Medium API is only available for an integration token for use with third-party writing applications, such as:

    iA Writer
    Ulysses

It's still required to pass app_id, app_secret when creating an SDK client:

function MediumClient(options) {
  this._enforce(options, ['clientId', 'clientSecret'])

Can you clarify, how can we use this SDK based just on personal access token?

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

1 participant