Difference between revisions of "PT Social Media Version 2.1 Upgrade"
From ADF Docs
Gcronkright (talk | contribs) |
Gcronkright (talk | contribs) |
||
Line 41: | Line 41: | ||
After the new fields have been added to the PTSocialMedia Configuration element: | After the new fields have been added to the PTSocialMedia Configuration element: | ||
# Go to the Social Media App Configuration Manager and click the '''"Edit Configuration"''' button. | # Go to the Social Media App Configuration Manager and click the '''"Edit Configuration"''' button. | ||
− | # When the configuration form opens, add/update the following values | + | # When the configuration form opens, go to the '''Twitter API''' tab, then add/update the the following fields with these new values: |
− | ## apiTwitterCustomerKey: {Your unique Twitter App Customer Key. Click here for More Info} | + | ## apiTwitterCustomerKey: ''{Your unique Twitter App Customer Key. Click here for More Info}'' |
− | ## apiTwitterCustomerSecret: {Your unique Twitter App Customer Secret. Click here for More Info} | + | ## apiTwitterCustomerSecret: ''{Your unique Twitter App Customer Secret. Click here for More Info}'' |
## apiTwitterAuthTokenURL: <nowiki>https://api.twitter.com/oauth2/token</nowiki> | ## apiTwitterAuthTokenURL: <nowiki>https://api.twitter.com/oauth2/token</nowiki> | ||
## apiTwitterSearch: <nowiki>https://api.twitter.com/1.1/search/tweets.json?q={{searchterm}}</nowiki> | ## apiTwitterSearch: <nowiki>https://api.twitter.com/1.1/search/tweets.json?q={{searchterm}}</nowiki> | ||
## apiTwitterScreenName: <nowiki>https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={{screenname}}</nowiki> | ## apiTwitterScreenName: <nowiki>https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={{screenname}}</nowiki> | ||
− | + | ## apiTwitterStatusURL: <nowiki>https://api.twitter.com/1.1/statuses/show/{{twitterid}}.json</nowiki> | |
− | |||
# Then click "Submit". | # Then click "Submit". | ||
# When the configuration page reloads click the '''"Reset ADF / App Configuration"''' button. | # When the configuration page reloads click the '''"Reset ADF / App Configuration"''' button. |
Revision as of 14:55, 21 June 2013
Back to PT Social Media
Contents
Overview
The following guide is upgrading from v2.0 to v2.1.
Custom Element Updates
PTSocialMedia Configuration
Add the following new fields to the Twitter API tab of the ptSocialMedia Configuration element:
- a Twitter API v1.1 Customer Key text field
- Type: text
- Field Name: apiTwitterCustomerKey
- Field Label: apiTwitterCustomerKey
- Description: The Customer Key you receive when you register your App with Twitter.
- Required: No
- Properties:
- Size: 60
- Default Value:
- a Twitter API v1.1 Customer Secret text field
- Type: text
- Field Name: apiTwitterCustomerSecret
- Field Label: apiTwitterCustomerSecret
- Description: The Customer Secret you receive when you register your App on Twitter.
- Required: No
- Properties:
- Size: 60
- Default Value:
- a Twitter API v1.1 POST oauth2/token URL text field
- Type: text
- Field Name: apiTwitterAuthTokenURL
- Field Label: apiTwitterAuthTokenURL
- Description: Twitter API Oauth token request URL.
- Required: No
- Properties:
- Size: 60
- Default Value: https://api.twitter.com/oauth2/token
App Configuration Updates
After the new fields have been added to the PTSocialMedia Configuration element:
- Go to the Social Media App Configuration Manager and click the "Edit Configuration" button.
- When the configuration form opens, go to the Twitter API tab, then add/update the the following fields with these new values:
- apiTwitterCustomerKey: {Your unique Twitter App Customer Key. Click here for More Info}
- apiTwitterCustomerSecret: {Your unique Twitter App Customer Secret. Click here for More Info}
- apiTwitterAuthTokenURL: https://api.twitter.com/oauth2/token
- apiTwitterSearch: https://api.twitter.com/1.1/search/tweets.json?q={{searchterm}}
- apiTwitterScreenName: https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={{screenname}}
- apiTwitterStatusURL: https://api.twitter.com/1.1/statuses/show/{{twitterid}}.json
- Then click "Submit".
- When the configuration page reloads click the "Reset ADF / App Configuration" button.
Application Code
- Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v1_2/".
- Rename file "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm.old".
- Download the PT Social Media v2.0 and exported into the "/ADF/apps/pt_socialmedia/" directory.
Reset the ADF for the server and site.
Site Customizations
During the application implementation customizations may have been created. Check under the "/_cs_apps/pt_socialmedia/" directory under you site to see if any customizations exists. If you do have site customizations, you'll need to update these accordingly.