Difference between revisions of "Mah!Cade:Twitter"
Jump to navigation
Jump to search
(→Setup) |
|||
Line 1: | Line 1: | ||
− | == | + | == About == |
Twitter support through the tweepy library was added in commit 140. This publish the game launched on your twitter feed once you are authorised with write access using the OAuth protocol. | Twitter support through the tweepy library was added in commit 140. This publish the game launched on your twitter feed once you are authorised with write access using the OAuth protocol. | ||
− | + | == Setup == | |
− | 'Create a new application' on https://dev.twitter.com/apps | + | * 'Create a new application' on https://dev.twitter.com/apps |
− | Enter the required values (anything you like) marked with an asterix | + | *# Enter the required values (anything you like) marked with an asterix |
− | Accept the license agreement | + | *# Accept the license agreement |
− | Enter the captcha | + | *# Enter the captcha |
− | Press 'Create your twitter application' | + | *# Press 'Create your twitter application' |
− | + | * Open the settings tab | |
− | Open the settings tab | + | *# Under Application Access select Read & Write |
− | Under Application Access select Read & Write | + | *# Press 'Update this Twitter applications settings |
− | Press 'Update this Twitter applications settings | + | * Open the details tab |
− | + | *# Press 'Create my access token' | |
− | Open the details tab | + | *# Once generated, confirm your access level is 'Read and Write' |
− | Press 'Create my access token' | + | * Open wahcade.ini |
− | Once generated, confirm your access level is 'Read and Write' | + | *# Add these new options |
− | |||
− | Open wahcade.ini | ||
− | Add these new options | ||
− | |||
<pre> | <pre> | ||
### Twitter OAuth Options ### | ### Twitter OAuth Options ### | ||
Line 28: | Line 24: | ||
custom_tags | custom_tags | ||
</pre> | </pre> | ||
− | + | * From your new twitter application add the keys as per below | |
− | From your new twitter application add the keys as per below | + | <pre> |
Consumer Key => consumer_key | Consumer Key => consumer_key | ||
Consumer Secret => consumer_secret | Consumer Secret => consumer_secret | ||
Access Token => access_key | Access Token => access_key | ||
Access Token Secret => access_secret | Access Token Secret => access_secret | ||
+ | </pre> | ||
This will give you authorization to write to your twitter timeline at Mah!Cade run time. | This will give you authorization to write to your twitter timeline at Mah!Cade run time. | ||
Additionally you may add custom text to the 'custom_tags' option in wahcade.ini. This text will be appended to the published line provided the line is not over 140 characters once combined. | Additionally you may add custom text to the 'custom_tags' option in wahcade.ini. This text will be appended to the published line provided the line is not over 140 characters once combined. |
Revision as of 01:48, 7 November 2013
About
Twitter support through the tweepy library was added in commit 140. This publish the game launched on your twitter feed once you are authorised with write access using the OAuth protocol.
Setup
- 'Create a new application' on https://dev.twitter.com/apps
- Enter the required values (anything you like) marked with an asterix
- Accept the license agreement
- Enter the captcha
- Press 'Create your twitter application'
- Open the settings tab
- Under Application Access select Read & Write
- Press 'Update this Twitter applications settings
- Open the details tab
- Press 'Create my access token'
- Once generated, confirm your access level is 'Read and Write'
- Open wahcade.ini
- Add these new options
### Twitter OAuth Options ### consumer_key consumer_secret access_key access_secret custom_tags
- From your new twitter application add the keys as per below
Consumer Key => consumer_key Consumer Secret => consumer_secret Access Token => access_key Access Token Secret => access_secret
This will give you authorization to write to your twitter timeline at Mah!Cade run time.
Additionally you may add custom text to the 'custom_tags' option in wahcade.ini. This text will be appended to the published line provided the line is not over 140 characters once combined.