Twitter service management
You can add a Twitter service to Bitbucket Cloud . Bitbucket will post information to Twitter when your project is updated. Bitbucket Cloud will use Twitter's OAuth authentication API. If you are having trouble with the service, see Troubleshooting Bitbucket services.
Setting Up the service
You must have administrative access on a repository to add this service.
- Go to the repository's settings.
- Click Services in the left-hand navigation.
The Services page appears.
- Select the Twitter service from the services dropdown.
- Click Add service.
A new section appears for the Twitter service.
- Click the Authorise your Twitter account to communicate with Bitbucket link.
A Twitter screen appears. If you are not logged into Twitter, you are prompted to log in now. If you are already logged in to Twitter, prompts you to allow or deny Bitbucket access to your Twitter account.
- Click Allow.
The system redirects you back to Bitbucket. The Twitter Secret and Token fields are filled in the Twitter service section.
Use the default value for the Format or change the template to suit your needs, as described below.
- Press Save.
Commits to your account will be posted to Twitter using the format you defined.
Choosing the Format of the Twitter Update
The default format is:
You can change the template to suit your own needs. The fields correspond directly to how the payload is delivered. For a description of the payload, see our guide to writing brokers.
There is also a shortcut for creating a TinyURL to the commit:
Was this helpful?
Thanks for your feedback!