Install Twitter Dialogue Provider
Note Enterprise Plus License Only
- Twitter account
- Twitter application associated with your twitter account
- Anywhere365 UCC with configured WebChat
- Installation package of the SocialMedia Service
- Register your Twitter account @ https://twitter.com
- Go to https://apps.twiter.com and sign in
- Click the "Create New App" button
- Fill in the "Name", "Description" and "Website" of your app,
- Agree with the "Developer Agreement" and click the "Create your Twitter Application" button
- Go to the "Keys and Access Tokens" tab and click the "Create my access token" button
- On this page take a note of the following information (this will be used to configure the SocialMedia Service): Consumer Key (API Key), Consumer Secret (API Secret), Access Token and Access Token Secret
- Go to the "Permissions" tab and select "Read, Write and Access direct messages" and click on the "Update Settings" button
- Go to http://gettwitterid.com/ fill in you twitter account username and take note of the "Twitter User ID" (this will be used later)
Configure UCC + WebChat
Please consult the WebChat installation manual: Install Webchat Plus
Installing the service
- Unzip the installation package that is provided
- Open "properties.ps1" (in the extracted files location) with notepad and fill in "$domain", "$serviceAccountName" and "$serviceAccountPassword" to be used as credentials for installing the SocialMediaService as windows service and save it
- Run windows powershell as administrator, navigate to the location of the extracted files and run "InstallSocialMediaService.ps1"
Configuring and start the service
- Navigate to default install location (c:\Program Files\UCC\SocialMediaService) and open "appSettings1.config" with notepad and change the following settings:
- Enabled = "true"
- ConfigName = "this will be used for logging and you can fill in any name you like"
- FollowUserId = "the Twitter User ID you noted"
- TimelineName = "your twitter account username"
- ConsumerKey = "Consumer Key (API Key) you noted"
- ConsumerSecret = "Consumer Secret (API Secret) you noted"
- AccessToken = "Access Token you noted"
- AccessTokenSecret = "Access Token Secret you noted"
- HubConnectionUrl = "url of the ChatHub service"
- HubEndpoint = "SIP address of your configured chat endpoint"
- HubSkill = "skill that you configured for your chat endpoint"
- Save the file
- Repeat previous steps for appSettings2.config if want to configure a second twitter account
- Go to "Windows Services" and start "Anywhere365 SocialMedia Service"
Did you find this page helpful?
Sorry about that
Why wasn't this helpful? (check all that apply)
Thank you for your feedback.
Want to tell us more?
Email your feedback to our documentation team.
Thanks for taking the time to give us some feedback.