Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. ruffCode
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    ruffCode

    @ruffCode

    0
    Reputation
    61
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ruffCode Unfollow Follow

    Latest posts made by ruffCode

    • RE: Web app connection with Flic HUB

      I know this is a little old, but here is one way to approach this.

      Create a webhook endpoint on the server, then use a websocket to push messages to the frontend.

      Register the buttons with the database, giving them a UUID.

      Split the API route based on button actions, passing the button's UUID as the parameter.

      Assign the URL as an action to the botton, i.e. ".../button/action/uuid

      Hope that helps

      posted in Developers
      ruffCode
      ruffCode