Power BI Connector for Twitter Ads

Build 22.0.8479

カスタムOAuth アプリの作成

アプリケーションの作成

Twitter アプリケーションを作成して、OAuth クレデンシャルを取得する方法は次のとおりです。

  1. Log in to https://developer.twitter.com/en/portal/projects-and-apps. If you haven't already, sign up for a developer account.
  2. To access the Twitter API v1.1, you need to apply for additional access within the developer portal. You can read more about this in the Twitter API documentation.
  3. Once you're on the Developer Portal, create a new Project. When you're done, you are redirected to create a new App. You can also go to the Project you just created and click Add App.
  4. Set a name for the App and Twitter then displays your keys and tokens. You should save these values somewhere since you need them later for authentication.
  5. Go to the App settings. Under User authentication settings click Set up. Turn on the 'OAuth 1.0a' authentication.
  6. Select Read and write and Direct message from the available App permissions.
  7. Enter the website and other optional information to be displayed to users when they connect.
  8. Set the Callback URL to http://localhost:33333/.
  9. Request access to the Ads API by filling out the following form https://developer.twitter.com/en/docs/twitter-ads-api/apply.

If you intend to communicate with Twitter only as the currently authenticated user, then you can obtain the OAuthAccessToken and OAuthAccessTokenSecret directly from the Developer Portal on Twitter. Navigate to your App and go to 'Keys and tokens'. There, click Generate on the 'Access Token and Secret' option. OAuthAccessToken およびOAuthAccessTokenSecret 接続プロパティを設定するだけで接続できます。

逆に、あなたがTwitter アプリケーションを作成する際に使用したユーザーアカウント以外のユーザーにアクセストークンを発行する必要がある場合には、コンシューマーキーおよびコンシューマーシークレットを使います。

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479