Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 19 2020 15:33
    vluzrmos closed #22
  • Nov 19 2020 15:33
    vluzrmos commented #22
  • Nov 19 2020 15:23
    vluzrmos closed #21
  • Nov 19 2020 15:23
    vluzrmos commented #21
  • Nov 19 2020 15:21
    vluzrmos closed #18
  • Nov 19 2020 15:21
    vluzrmos closed #16
  • Nov 19 2020 15:21
    vluzrmos closed #20
  • Nov 19 2020 15:21
    vluzrmos commented #20
  • Nov 19 2020 15:18
    vluzrmos closed #29
  • Nov 19 2020 15:18

    vluzrmos on v0.5.0

    (compare)

  • Nov 19 2020 15:15

    vluzrmos on master

    Improve check slackbot name (compare)

  • Nov 19 2020 15:14

    vluzrmos on master

    Fix check user nick; Fix contra… (compare)

  • Nov 19 2020 15:03

    vluzrmos on master

    Fix UserAdmin contract with met… (compare)

  • Nov 19 2020 14:42

    vluzrmos on master

    Preparation for laravel 8 (compare)

  • Nov 19 2020 13:17

    vluzrmos on master

    Update readme.md (compare)

  • Nov 19 2020 13:16

    vluzrmos on master

    Add config for response type Add config merge and update rea… Formatting all files and removi… and 2 more (compare)

  • Nov 19 2020 13:16
    vluzrmos closed #28
  • Nov 19 2020 13:16
    vluzrmos synchronize #28
  • Nov 19 2020 13:09

    vluzrmos on master

    Implement OAuth and OAuthV2 met… Merge pull request #27 from Viv… (compare)

  • Nov 19 2020 13:09
    vluzrmos closed #27
Muhammad Adel
@d3vma
Hello!
Could you help me by telling how to get Slack user status on Laravel?
Vagner Luz do Carmo
@vluzrmos
@d3vma to get a list of users with theirs info, you can do slack('user')->lists()
but, with you want to know if a user is logged in, you can do slack('rtm')>start()
Vagner Luz do Carmo
@vluzrmos
that will return an array, you should get the index "users"
like slack('rtm')->start()->users
Gareth Cozens
@cloudratha
Hey Vagner, Quick question. When sending a message the newline (\n) is being ignored and is sent as plain text. I cant see any encoding being done on ourside. Does the parse argument affect this?
Gareth Cozens
@cloudratha
Dont stress. figured it out. Not sure if it was because I stored the message in a TEXT MYSQL field or if I turned parse none/full.
Vagner Luz do Carmo
@vluzrmos
Ok, let me know if you figure it out
Gareth Cozens
@cloudratha
I think the new line needs to be separated with a space , i.e. \n\n wont parse.
Vagner Luz do Carmo
@vluzrmos
In my tests, it works fine:
slack('chat')->message('#general', "New\nLine");
@cloudratha
(note double quotes)
blob
if that "\n" is inside the message (plain text) you should replaceit,
$message = preg_replace('/\\n/', "\n", $message);
(double quotes)
Gareth Cozens
@cloudratha
Yeah figured that out over the weeked. It was much easier to store the message in the DB as a TEXT field. THanks for the heads up
Chris Deaton
@flashadvocate
Anyone running into this issue? Target [Vluzrmos\SlackApi\Contracts\SlackUser] is not instantiable while building
sforsolat2005
@solat
Hi There ,
I just got email from slack. I am using vluzrmos slack api
On February 19, 2020, Slack will end support for TLS versions 1.0 and 1.1. Your organization has been identified as using an unsupported version of TLS. If you don't upgrade to TLS 1.2, requests sent to any Slack service will fail.
TLS (Transport Layer Security) enables a secure connection between two web-based applications that share information – like your IT systems and Slack. This shift aligns with industry best practices for security and data integrity.
Here's how to continue using Slack without interruption:
Identify which parts of your organization are using an unsupported version of TLS
Ensure your organization is using the latest version of Slack on desktop and mobile, or in a supported browser version
All developers who are owners of affected apps or integrations have also been contacted with upgrade instructions
We're here to help! Learn more about the transition to TLS 1.2 in our Help Center, and if you have any unanswered questions simply email feedback@slack.com.