Lookup Social Media Posts

Version: 1.3.0
social-media/posts-lookup
superface

Retrieve social media posts by hashtag or mention of a profile.

Lookup Posts by Hashtag

Retrieve recent posts that match a hashtag.

Hashtag
After date
Page
Previous page
Next page
Posts
Rate limit

Lookup Posts by Mention

Retrieve recent posts that mention a social media profile.

Profile ID
After date
Page
Previous page
Next page
Posts
Rate limit

1. Install

npx @superfaceai/cli install social-media/posts-lookup

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('social-media/posts-lookup');

  // Use the profile
  const result = await profile
    .getUseCase('FindByHashtag')
    .perform({
      hashtag: 'apis'
    });

  return result.unwrap();
}

run();

3. Add providers