Skip to content

Commit 0444c8c

Browse files
authored
Merge pull request #50568 from drunkrhin0/master
Removed redundant steps
2 parents d0e9e19 + 384f131 commit 0444c8c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

articles/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In this how-to guide, you use a client application that connects to Twitter and
3434

3535
* The TwitterClientCore application, which reads the Twitter feed. To get this application, download [TwitterClientCore](https://github.com/Azure/azure-stream-analytics/tree/master/DataGenerators/TwitterClientCore).
3636

37-
* Install the [.NET Core CLI](https://docs.microsoft.com/dotnet/core/tools/?tabs=netcore2x).
37+
* Install the [.NET Core CLI](https://docs.microsoft.com/dotnet/core/tools/?tabs=netcore2x) version 2.1.0.
3838

3939
## Create an event hub for streaming input
4040

@@ -89,12 +89,6 @@ Before a process can send data to an event hub, the event hub needs a policy tha
8989
> [!NOTE]
9090
> For security, parts of the connection string in the example have been removed.
9191
92-
8. In the text editor, remove the `EntityPath` pair from the connection string (don't forget to remove the semicolon that precedes it). When you're done, the connection string looks like this:
93-
94-
```
95-
Endpoint=sb://EVENTHUBS-NAMESPACE.servicebus.windows.net/;SharedAccessKeyName=socialtwitter-access;SharedAccessKey=Gw2NFZw6r...FxKbXaC2op6a0ZsPkI=
96-
```
97-
9892
## Configure and start the Twitter client application
9993

10094
The client application gets tweet events directly from Twitter. In order to do so, it needs permission to call the Twitter Streaming APIs. To configure that permission, you create an application in Twitter, which generates unique credentials (such as an OAuth token). You can then configure the client application to use these credentials when it makes API calls.
@@ -105,7 +99,7 @@ If you do not already have a Twitter application that you can use for this how-t
10599
> [!NOTE]
106100
> The exact process in Twitter for creating an application and getting the keys, secrets, and token might change. If these instructions don't match what you see on the Twitter site, refer to the Twitter developer documentation.
107101
108-
1. From a web browser, go to [Twitter For Developers](https://developer.twitter.com/en/apps), and select **Create an app**. You might see a message saying that you need to apply for a Twitter developer account. Feel free to do so, and after your application has been approved, you should see a confirmation email. It could take several days to be approved for a developer account.
102+
1. From a web browser, go to [Twitter For Developers](https://developer.twitter.com/en/apps), create a developer account, and select **Create an app**. You might see a message saying that you need to apply for a Twitter developer account. Feel free to do so, and after your application has been approved, you should see a confirmation email. It could take several days to be approved for a developer account.
109103

110104
![Twitter application details](./media/stream-analytics-twitter-sentiment-analysis-trends/provide-twitter-app-details.png "Twitter application details")
111105

@@ -134,7 +128,7 @@ Before the application runs, it requires certain information from you, like the
134128
* Set `oauth_consumer_secret` to the Twitter Consumer Secret (API secret key).
135129
* Set `oauth_token` to the Twitter Access token.
136130
* Set `oauth_token_secret` to the Twitter Access token secret.
137-
* Set `EventHubNameConnectionString` to the connection string. Make sure that you use the connection string that you removed the `EntityPath` key-value pair from.
131+
* Set `EventHubNameConnectionString` to the connection string.
138132
* Set `EventHubName` to the event hub name (that is the value of the entity path).
139133

140134
3. Open the command line and navigate to the directory where your TwitterClientCore app is located. Use the command `dotnet build` to build the project. Then use the command `dotnet run` to run the app. The app sends Tweets to your Event Hub.
@@ -233,4 +227,4 @@ For further assistance, try our [Azure Stream Analytics forum](https://social.ms
233227
* [Get started using Azure Stream Analytics](stream-analytics-real-time-fraud-detection.md)
234228
* [Scale Azure Stream Analytics jobs](stream-analytics-scale-jobs.md)
235229
* [Azure Stream Analytics Query Language Reference](https://docs.microsoft.com/stream-analytics-query/stream-analytics-query-language-reference)
236-
* [Azure Stream Analytics Management REST API Reference](https://msdn.microsoft.com/library/azure/dn835031.aspx)
230+
* [Azure Stream Analytics Management REST API Reference](https://msdn.microsoft.com/library/azure/dn835031.aspx)

0 commit comments

Comments
 (0)