Slack integration

Hi
Wondering anyone tried integration of slack with amibroker ? There are some online posts of amibroker scripts with Pushbullet .

I know it's an old thread but I got the same question. Any way to send notifications to slack after receiving a signal from Amibroker? Except sending emails.
Thank you

Just use InternetOpenURL() and/or InternetPostRequest() functions with Slack API https://api.slack.com/

FWIW: Version 6.30.3 or higher is required for InternetPostRequest.

1 Like

Thank you for the tip, but unfortunately I've hit a wall again.
First of all I was unable to make InternetPostRequest() function to work.
afl%5D%2002_07_2020%2014_34_16%20(2)
For whatever reason it is not recognized in my Amibroker (I am on 6.29)...

From Slack's documentation there are two examples:
1)
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
2)

POST https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Content-type: application/json
{
    "text": "Hello, world."
}

Do you think there is a way to feed something to satisfy Slack via InternetOpenURL() ?

Thank you!

ok, my bad my version was too old

Yes for the reference InternetPostRequest was added in version 6.30.3

Did you manage to use the slack API with InternetPostRequest()? I have a similar issue with PushBullet @ Unclear error and crash