Skip to content

Instantly share code, notes, and snippets.

@dwi2
Last active November 23, 2016 13:19
Show Gist options
  • Save dwi2/60bb230c4a7aff5b4af5e1bd5f81040b to your computer and use it in GitHub Desktop.
Save dwi2/60bb230c4a7aff5b4af5e1bd5f81040b to your computer and use it in GitHub Desktop.
tasks before hackathon

Tasks

  1. write user stories and design user flows

  2. feasibility study

  • login with LINE account (low priority for demo)
  • multiple BOT and multiple webhooks/endpoint on single machine
  1. build infrastructure, choose tech stack
  • VM
  • DB
  • node JS? front-end framework? full stack framework?

User stories

  1. Users are SME owners and want to extend their business on LINE app, but they don't know how to write codes.

  2. Users should able to login to our system via

    2-1. LINE account

    2-2. 3rd party accounts which support OAUTH

    2-3. Registered account of our system

  3. Users should be able Edit their profiles, including

    3-1. LINE Channel Access Token

    3-2. Account and password (if 2-3 applied)

  4. Users should able to generate BOT from selecting bot patterns

    4-1. Food Ordering and Delivering bot template 出前bot template

    4-2. Undeliverable Item Notice bot template ご不在連絡bot template

Bot Templates

Food Ordering and Delivering bot (a regular customers flow, not meta)

By Customers, it means people who using bot to order food. By Users, it means people who create bot, a.k.a. users of our system

  1. Customers send keyword to bot
  2. bot replies menu with Carousel message type
  3. When customers tap the carousel menu, it triggers either postback event to webhook or message event to user.

Bold faces are the things we let users to customize

TBD

@shamenchens
Copy link

LINE login is based on OAuth2.0 so it shouldn't be a problem technically, but time could be.

You may try this link:
https://access.line.me/dialog/oauth/weblogin?response_type=code&client_id=1489048908&redirect_uri=http%3A%2F%2Flocalhost

Once authorized, it will redirect to callback url with a code, then we can use this code to request an access token, and use that access token to request something from API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment