Lyftron Buffer Provider
The Lyftron API Profile for Buffer allows you to query data from Buffer. The Buffer profile is a single file (i.e. buffer.apip) which is meant to be used with the Lyftron API Driver. The profile contains the table definitions and other Buffer specific metadata that the Lyftron API Driver uses to connect to Buffer.
To use the Buffer Profile set the Profile property of Lyftron API Driver to the path of the Buffer profile, as well as the other connection properties specified in the documentation below. Once the Lyftron API Driver has been configured, you can issue SQL queries to access data from any of the Buffer Tables.
Connecting to Buffer
To authenticate to Buffer, you can either use the Personal Token or the OAuth standard. Use Personal Token to connect to your own data. Use OAuth to allow other users to connect to their data.
Using Access Token
To use your own Access Token, set it to the Api-Token in ProfileSettings connection property. The Access Token is found in your app settings.
Using OAuth Authentication
You must first register an application here: https://buffer.com/developers/apps/create. Your app credentials will be emailed to you.
After setting the following in ProfileSettings connection property, you are ready to connect:
- OAuthClientId: Set this to the Client Id that is specified in your app settings.
- OAuthClientSecret: Set this to Client Secret that is specified in your app settings.
- CallbackURL: Set this to the Redirect URI you specified in your app settings.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage the process to obtain the OAuthAccessToken.