Skip to content

Commit

Permalink
App Id Removed from the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-MSFT committed Aug 23, 2024
1 parent 4b9ca56 commit 330a525
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions samples/tab-deeplink/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ The simplest way to run this sample in Teams is to use Teams Toolkit for Visual
```
- Update the `.env` configuration for the bot to use the `YOUR-MICROSOFT-APP-ID`, `YOUR-MICROSOFT-APP-PASSWORD` and `BASE-URL` is tunnel url eg. 124.ngrok-free.app. (Note the MicrosoftAppId is the AppId created in step 1 (Setup for Bot), the MicrosoftAppPassword is referred to as the "client secret" in step 1 (Setup for Bot) and you can always create a new client secret anytime.)

- navigate to `Deeplink.html` page at line number `58` Update the `data-app-id` attribute with your application id.

```bash
data-app-id="{{Your-App-Id}}"
```

- In a terminal, navigate to `samples/tab-deeplink/nodejs`

```bash
Expand Down
4 changes: 2 additions & 2 deletions samples/tab-deeplink/nodejs/pages/DeepLink.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
<h3>Share to Teams using a web page</h3>
<p>Click below Teams button to open popup</p>
<span class="teams-share-button"
data-href="https://teams.microsoft.com/l/meetup-join/19%3ameeting_Zjk2ZjQ1NTItNzNjMy00MGM1LWIxYWEtODRmZmFhYThmMGEz%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%22943a82b8-fdb9-4dbf-aa6c-31e37bb9aed6%22%7d"
data-href="https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/share-to-teams-from-web-apps?branch=pr-en-us-10824&tabs=method1#embed-a-share-to-teams-button"
data-msg-text="Test Message" data-icon-px-size="64" data-allow-share-in-meeting="true"
data-app-id="c8fdd482-d94b-46fa-a3b7-06fcefbbee55" data-preview="true"></span>
data-app-id="{{Your-App-Id}}" data-preview="true"></span>
</div>
</div>
<div style="margin-top:1rem;">
Expand Down

0 comments on commit 330a525

Please sign in to comment.