Closed xurizaemon closed 7 years ago
Add #civicamp as search term, please :) . Where are the search terms stored, anyway?
Done!
Cool, thanks! Just in time for #CiviCamp Manchester.
Where are the search terms stored, anyway?
See the commit above - they live in .config.sh
(refer to example-config.sh
)
Would be possible to set them in robot.brain
as well ... to do that we need to think about who is allowed to set this variable or that. Ref also your question about do we want all people or just some able to reboot @bolts via DM, etc - might make sense to have a configurable set of "botmaster" role users who can set some vars, etc etc?
Thanks @xurizaemon . Yeah botmaster role makes sense if it's not a pain to create.
Hey @xurizaemon - [some] tweets in ~socialmedia don't show direct http link to the tweet - instead, just shows @bph twitter handle link, for example - see screenshot - so I found bph's tweet by clicking on handle and going to tweetstream - but direct http link is much better.
Also, for tweets with http links to external resource in the tweet text - like pkeogan in tweet list - would be useful to distringuish between http link to tweet vs. http link within the tweet itself - so perhaps Link to Tweet: http.... to make it easy to RT ?
Re the above - I just figured out that clicking on the date and time hyperlink takes one directly to the tweet :) .
Hey, thanks @joemcl! Glad you found the link :)
There are some issues with links in the tweet body, but I think they need to be addressed a couple of projects over! bolts uses https://github.com/vspiewak/hubot-twitter-mention, which in turn uses https://github.com/ttezel/twit.
I added an issue on twitter-mention regarding improving format of hashtags, links in tweet etc: vspiewak/hubot-twitter-mention#3
ttezel/twit#327 might be relevant too.
Not top of my priority list right now, but something to come back to!
Please add #CiviCon as a search term for bolts to send stuff to https://chat.civicrm.org/civicrm/channels/socialmedia . Thanks. I'd do it myself but I have not figured out how to update my fork of this with the latest updates, then do a PR to add #CiviCon to .config.sh
Done, query is now
export HUBOT_TWITTER_MENTION_QUERY="#civicrm OR #civicamp OR #civicon OR from:civicrm OR @civicrm"
We can't PR a change to .config.sh
because it's not in the repo - in order to prevent revealing details like HUBOT_WHATEVER_PASSWORD
.
Just asking me via a comment or issue is the right approach!
Use a separate issue, then I get a warm fuzzy from closing them 😜
Thanks @xurizaemon and yeah will do new Issue in the future
Tthe direct link to the tweet is the date/time stamp
Birgit aka @bph
On Thu, Mar 9, 2017 at 3:23 PM, Joe McLaughlin notifications@github.com wrote:
Hey @xurizaemon https://github.com/xurizaemon - [some] tweets in ~socialmedia don't show direct http link to the tweet - instead, just shows @bph https://github.com/bph twitter handle link, for example - see screenshot - so I found bph's tweet by clicking on handle and going to tweetsream - but direct http link is much better.
Also, for tweets with http links to external resource in the tweet text - like pkeogan in tweet list - would be useful to distringuish between http link to tweet vs. http link within the tweet itself - so perhaps Link to Tweet: http.... to make it easy to RT ?
[image: mattermost -socialmedia tweets] https://cloud.githubusercontent.com/assets/3912434/23769070/f41c1070-04c2-11e7-801f-8c68e5a5c270.png
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xurizaemon/bolts/issues/1#issuecomment-285470157, or mute the thread https://github.com/notifications/unsubscribe-auth/AACcLNWpo2hqMESAth0BOsBHMK15u4XMks5rkF-qgaJpZM4MLwFm .
#civicrm OR from:civicrm
)