Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Stuart Boston
    @Omertron
    Any chance that a release can be made to update the code base from 31-Aug-2016?
    Benoit Corne
    @bcorne
    Sure, I have to find some time to do the release first, I hope it will fit in my agenda for next week
    Prem Kumar
    @prem6667
    Any thought on attaching file in SlackAttachment ?
    ukiuni
    @ukiuni
    Hi. I send pull request for proxy authentication. Check it please.
    Ullink/simple-slack-api#176
    DK52
    @DK52
    How can i invite Users from the API??
    PixelDream
    @PixelDream
    Hello, How can I find the "slack-bot-auth-token" ? I have create a Bot Users.
    Jayshree
    @Jayshree_M_twitter
    Hello All,
    I see an issue with large org slack session.
    receiving from websocket {"type":"error","error":{"msg":"Socket URL has expired","code":1}}
    Same code works with test team I have created
    Any help on this please?
    Nish Tahir
    @nishtahir
    @Jayshree_M_twitter can you share your code?
    Jayshree
    @Jayshree_M_twitter
    Sure...where to share the same?
    It acts funny ...sometime it connects but those are very rare times
    Benoit Corne
    @bcorne
    Do you work on a big Slack team?
    Jayshree
    @Jayshree_M_twitter
    right
    almost 5K + users
    I had sent mail to you also
    Benoit Corne
    @bcorne
    ok that's the reason
    oh ok, I see then
    that's the 30s validity limit which is broken, I'm on it
    Jayshree
    @Jayshree_M_twitter
    so do we have any workaround for large slack teams?
    Benoit Corne
    @bcorne
    not yet unfortunately
    Jayshree
    @Jayshree_M_twitter
    Also one more thing....it reads all the information like users data and channels....does it really need to do that at the session.connect?
    I mean do we keep it in the session?
    Benoit Corne
    @bcorne
    at least the channels but not the users
    I think I'll have to load lazily the data when it is requested instead to parse the whole team
    Jayshree
    @Jayshree_M_twitter
    ok...As per my condition...I do not even need channels as its a bot which will reply to dm only
    yeah that might help
    Benoit Corne
    @bcorne
    I'll study the lazy loading of channels as well
    Jayshree
    @Jayshree_M_twitter
    Thank you....Do let me know if you find any workaround also...So that I can use it
    Benoit Corne
    @bcorne
    Sure
    I will anyway update the github issue as soon as I have a workaround or a solution
    Jayshree
    @Jayshree_M_twitter
    sure
    Benoit Corne
    @bcorne
    @Jayshree_M_twitter , I'm doing some profiling on the library right now, how are your logging settings ? are you logging a lot of information (like DEBUG level) ?
    because most of the time spent is only to parse the JSON payload Slack is sending and the library needs to parse it at least to have the websocket connection URL
    Benoit Corne
    @bcorne
    I did some run on a team of about 800 users / 1700 channels and it takes around 1.7s to start
    Benoit Corne
    @bcorne
    my tests were run on an Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with Windows 10 on java 8 with the following memory settings : -Xms64M -Xmx64M . One point which may lead to the log level is the fact the test was done using a SSD drive
    Jayshree
    @Jayshree_M_twitter
    @bcorne I am actually using a jar file for api's...and have not done any log settings...But in logger I see
    1.First it connects with slack
    2.Fetches Team info
    3.Fetches all user Info
    4.Fetches all Channel info
    5.Then sends push message (if I have enabled listener)
    Jayshree
    @Jayshree_M_twitter
    any luck with the API connection improvement?
    Jumbo1907
    @jumbo_1907_twitter
    Hey there, I have a problem with connecting to my slack channel. Anyone here to help?
    Jayshree
    @Jayshree_M_twitter
    What is the issue ?
    Vadim Beskrovnov
    @vbeskrovnov
    Hi, when will you release new version without problem with tyrus dependency?
    Daniel Weibel
    @weibeld
    Does anybody know where I can find a Javadoc of the API (i.e. all the classes here?
    Daniel Weibel
    @weibeld
    @weibeld Ok, the Javadoc can be found here in the Downloads section of the releases.
    Sebastian
    @sebkur
    Hey guys, is it possible to connect send a message to a chat as a normal user (not as a bot?)
    All examples seem to be about bots...
    Benoit Corne
    @bcorne
    sure, it is
    you can use a normal user token
    Dan Haywood
    @danhaywood
    Question on thread-safety: are SlackSession and SlackChannel threadsafe? Thx
    Francois Langelier
    @franklangelier_twitter
    Hey, is there a future package planned soon? I need a fix which hasn't been package yet (PR 227) ??