Creating a Battle.net App


To start collecting social sign ups and gaming activity from Battle.net, you need to get your Battle.net app up and running. You create the app on the Battle.net developer portal and then add its credentials to your AE dashboard.



Create Your App on Battle.net


  1. Go to the Battle.net developer portal (develop.battle.net) and log in with your Battle.net account. Blizzard requires two-factor authentication on the account for any API use.
  2. Open API Access and click Create Client. The Create Client form opens.
  3. In Client Name, enter a name. Members may see it, and it must be unique across all developer accounts.
  4. In Redirect URLs, paste: https://YOUR-AE-CONNECT-ADDRESS/BattleNetAuthenticator_Controller (one address per line).
  5. In Service URL, enter the address of the service that will use this client: https://YOUR-AE-CONNECT-ADDRESS. If you do not have one, tick I do not have a service URL for this client, and describe in Intended Use how and from where you call the API.
  6. In Intended Use, describe how you will use the client, for example to collect gaming profile data from members who sign in with Battle.net.
  7. Click Save. The client page shows your client ID and client secret. Copy both. If the secret is not shown, use Generate New Secret on the client page.


Important

Replace YOUR-AE-CONNECT-ADDRESS with the address your AE Connect framework loads from: the domain in the script address on the Install AE Connect tab of your application. For example, for the demo dashboard it is demo.theappreciationengine.com.


No approval needed

Blizzard does not review or approve a client before it works for real members.




Setup Your Battle.net App in Your Dashboard


  1. Go back to your AE dashboard. Open the Manage page of the application you want to configure, then click the Social Apps tab.
  2. Under Gaming, click the Battle.net icon.
  3. On the Basic settings tab, paste your client ID and client secret.
  4. Optional: click the Advanced settings tab to review the permissions AE requests. By default AE asks for openid, wow.profile, sc2.profile and d3.profile, which cover the member's World of Warcraft, StarCraft II and Diablo profiles.
  5. Press Update app (or Activate app the first time). The Battle.net icon now shows that the app is live.




What to Expect


  • When your app is activated, AE adds three video game brands under your application: StarCraft 2, World of Warcraft and Diablo.
  • AE can track StarCraft II achievements and rewards, Diablo hero creation and updates, and World of Warcraft characters, checking the US, EU, KR and TW regions to find the member's profile.
  • Battle.net sign ins do not refresh in the background. If a member's access expires, they are asked to sign in with Battle.net again.
  • To match activity to a brand, open your brand, find Battle.net tag under Gaming Accounts, and enter the tag in the format the field shows, for example Player-Realm.


Connect other social networks: Creating a YouTube App, Creating a Spotify App, Creating a Discord app.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article