GithubHelp home page GithubHelp logo

Webhook example about line-bot-sdk-go HOT 5 CLOSED

line avatar line commented on July 24, 2024
Webhook example

from line-bot-sdk-go.

Comments (5)

GuitarSucks avatar GuitarSucks commented on July 24, 2024

@huyjack178
The webhook will not return all BOT's friend ID's. It will only return events that occurred with the userId. We also don't have any API to retrieve them.
If you don't have all the ID's of your BOT's friend, you can still send broadcast messages from LINE @ Manager.

from line-bot-sdk-go.

huyjack178 avatar huyjack178 commented on July 24, 2024

Thanks, I want to send message to all Bot's friend at the same time. How can I do this?

from line-bot-sdk-go.

huyjack178 avatar huyjack178 commented on July 24, 2024

And another thing is, how can I use my local webhook URL. Please tell me is it possible. Thanks a lot

from line-bot-sdk-go.

GuitarSucks avatar GuitarSucks commented on July 24, 2024

Thanks, I want to send message to all Bot's friend at the same time. How can I do this?
-> You can only do so by calling multicast API several times. To use it you will need a plan that can use push api.

And another thing is, how can I use my local webhook URL. Please tell me is it possible. Thanks a lot
-> You mean you want to use localhost ? If so its not possible since our platform needs to communicate to send any event.

from line-bot-sdk-go.

huyjack178 avatar huyjack178 commented on July 24, 2024

-> You can only do so by calling multicast API several times. To use it you will need a plan that can use push api.
Many thanks, it is free, right? My idea is when user add friend with LINE Bot, I save user id to somewhere and when push message, I will get the list of users id to send multicast. Is this idea good?

> You mean you want to use localhost ? If so its not possible since our platform needs to communicate to send any event.
Yes, I want to debug in localhost, so can not do it, right? Is there any way to debug or check your event?

from line-bot-sdk-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.