Post to Twitter
Moderators: Developer, Contributor
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Post to Twitter
Help, I've looked and I've searched but I can't see what I need to do to get my version of Mantis 1.2.1 to post to my Twitter account. I'm sure it's simple and I that I simply can't see the woods for the trees, but if someone could tell me, preferably in simple terms, I'd be grateful.
David
David
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
somebody must know how to do this
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
I believe that when I resolve an issue in Mantis, I can automatically post this to my twitter account, so my customer's are aware that the issue has been dealt with.
If this is correct, then I would like to know how I configure Mantis to do this. I can't find any documentation that explains what I need to do.
If this is correct, then I would like to know how I configure Mantis to do this. I can't find any documentation that explains what I need to do.
Re: Post to Twitter
There is no builtin function for this.
To get the functionality you could write a plugin or customize the existing functionality to sent email.
There are service providers where you get an email address and all incoming emails are sent to a twitter account.
To get the functionality you could write a plugin or customize the existing functionality to sent email.
There are service providers where you get an email address and all incoming emails are sent to a twitter account.
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
I don't understand, the manual mentions that I need curl for Twitter integration (but says nothing more on it - why mention it at all if there isn't some kind of integration) and this thread http://www.mantisbt.org/forums/viewtopi ... ter#p18536 seems to show that resolved issues are being posted to Twitter, but you say that there is no built in support for Twitter.
How are the MantisBT tweets shown on http://www.mantisbt.org/ generated ?
How are the MantisBT tweets shown on http://www.mantisbt.org/ generated ?
Re: Post to Twitter
You are right, there is some builtin functionality!
I was confused because I checked the twitter functionality that you mentioned from http://www.mantisbt.org
This is realized by a plugin, which is not able to provide the functionality you want.
You can use this plugin to implement an internal twitter funcionality or to read posts from twitter.
(At least the documentation says this, I never tried myself)
You are also right when saying "I'm sure it's simple"
Seems you have just to add the following two lines to file config_inc.php
I was confused because I checked the twitter functionality that you mentioned from http://www.mantisbt.org
This is realized by a plugin, which is not able to provide the functionality you want.
You can use this plugin to implement an internal twitter funcionality or to read posts from twitter.
(At least the documentation says this, I never tried myself)
You are also right when saying "I'm sure it's simple"
Seems you have just to add the following two lines to file config_inc.php
Code: Select all
$g_twitter_username = 'yourTwitterAccount';
$g_twitter_password = 'yourTwitterPassword';-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
Thanks, of course that had to be too simple !! I updated those to my twitter username and password, but marking a public issue on a public project as resolved, doesn't result in anything being posted to twitter. Unless anyone has any suggestions, I'll just have to do some playing 2morrow.
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
Frustrating, can't get it to work.
Is there some function I can use to help debug what's happening, maybe something to write to a log file or some such. Although I've got 20 years programming under my hat, I don't know php at all.
Is there some function I can use to help debug what's happening, maybe something to write to a log file or some such. Although I've got 20 years programming under my hat, I don't know php at all.
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
I'm beginning to think it doesn't work at all. I've just looked at the MantisBT account on Twitter and nothing has been posted to it since Nov, yet I can see loads of bugs have been resolved.
Re: Post to Twitter
Seems that twitter does not longer support the authentification method used by MantisBT.
They decided to support OAuth.
http://dev.twitter.com/pages/oauth_faq
They decided to support OAuth.
http://dev.twitter.com/pages/oauth_faq
-
david_navigator
- Posts: 15
- Joined: 16 May 2010, 09:34
Re: Post to Twitter
Added to BT with sponsorship if anyone fancies working on it.
Re: Post to Twitter
thanks,
for other users to track http://www.mantisbt.org/bugs/view.php?id=12865
for other users to track http://www.mantisbt.org/bugs/view.php?id=12865