ServicePRO Web - Twitter Account Integration for Sign Up
It will also outline the specifications for Twitter user account integration and the Twitter signup option in the Self-Service Portal.
- The availability of Twitter Sign-on Integration is optional – A user with administrator privileges can configure this option from the Portal Designer, under the General section.
- When users click on the Twitter icon on the Login/Registration page, they will be taken to Twitter’s website to enter credentials and authorize the application to access their profile. When users are brought back to ServicePRO Web, they will be brought to the Twitter account registration page, allowing them to associate the Twitter account with a ServicePRO account. If a user has already registered a ServicePRO account prior, they will be directly signed in to ServicePRO ServicePRO Web.
- On the Registration page, the Password and Confirm Password fields will be hidden, and the user account will be created with a default "helpstar" password.
- Name = Twitter account name
- Username = display name entered by the user
- Email address = email entered by the user.
- Users with administrator privileges can enable or disable the "Follow on Twitter" button. When this option is enabled from System options, the user will see the "Follow [Product Name]" toggle button above the Register button, which will be set to "on" by default. If this option is disabled, the user will not see that toggle button at all.
- The Twitter Consumer Key, Consumer Secret and User Id strings will be retrieved from the application's configuration file rather from the system options to avoid database calls upon startup of the application.
- Name: [Application Name] (ex. ServicePRO)
- Description: [Description of the application]
- Website: [Fully qualified URL] (ex. http://ServicePROWeb.servicepro.com )
- Callback URL: [URL to return to] (ex. http://ServicePROWeb.servicepro.com )
- Consumer Key (API Key)
- Consumer Secret (API Secret)
- Owner ID
Put these values in the application’s Config file:
<add key="TwitterConsumerKey" value="___"/> <add key="TwitterConsumerSecret" value="___"/> <add key="TwitterUserID" value="___"/>(Where the underscored spaces contains the respective value provided on the page)
Twitter will request that you associate a cell phone number with the account before allowing this permission change.
If the access level remains as “Read-Only”, the “Follow on Twitter” system option should be disabled or it will not take any effect when the user chooses to follow.