/opennms-base-assembly/src/main/filtered/etc/microblog-configuration.xml
https://github.com/ajakubo1/opennms · XML · 35 lines · 17 code · 0 blank · 18 comment · 0 complexity · 88585fd9c642c4c431c18c5f2097b38c MD5 · raw file
- <?xml version="1.0"?>
- <!--
- This file contains profiles for posting to and reading notices from
- one or more microblog services such as Identica, StatusNet, or Twitter.
-
- Currently these profiles are used only by the MicroblogNotificationStrategy
- and its ~Reply~ and ~DM~ derived classes. These strategies will first try
- to use a profile whose name is "notifd", falling back to the default profile
- if one does not exist.
-
- Future uses for the profiles in this configuration file include an
- AckReader for Ackd and perhaps a MicroblogTransportMonitor for Pollerd.
- -->
- <microblog-configuration default-microblog-profile-name="identica">
- <microblog-profile
- name="identica"
- service-url="https://identi.ca/api/"
- authen-username="yourusername"
- authen-password="yourpassword"
- />
- <!--
- Twitter no longer supports username/password for application posting.
- Instead, you should use OAuth authentication. To configure OpenNMS
- for OAuth, run $OPENNMS_HOME/bin/microblog-auth and follow the prompts.
- It will update this configuration file for you.
- -->
- <microblog-profile
- name="twitter"
- service-url="https://twitter.com/"
- oauth-consumer-key=""
- oauth-consumer-secret=""
- oauth-access-token=""
- oauth-access-token-secret=""
- />
- </microblog-configuration>