How to use flickr-sdk - 1 common examples

To help you get started, we’ve selected a few flickr-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github textileio / explore / flickr-exporter / cmd / export.js View on Github external
async function getUserAuth(consumerKey, consumerSecret) {
  const log = new Signale({ interactive: true });
  const oauth = new Flickr.OAuth(consumerKey, consumerSecret);

  try {
    log.await("Requesting authorization token");
    const { body } = await oauth.request("");
    log.success(
      "Authorization token retrieved",
      body.oauth_token,
      body.oauth_token_secret
    );

    return Flickr.OAuth.createPlugin(
      consumerKey,
      consumerSecret,
      body.oauth_token,
      body.oauth_token_secret
    );

flickr-sdk

Almost certainly the best Flickr API client in the world for node and the browser

MIT
Latest version published 5 months ago

Package Health Score

68 / 100
Full package analysis

Popular flickr-sdk functions