Coder Social home page Coder Social logo

omi's Introduction

OMI

Build

This module support to connect to Facebook API to manager messages.

Table of contents

pip install pymessenger
pip install facebook-sdk

This module customize discuss (mail) to send message from odoo to facebook.

  1. Get facebook access token
  2. Verify your web-hook
  3. Send message

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

  • tienhieuD
  • trunglen123
  • vanduydinh

This module is maintained by the tienhieuD.

omi's People

Contributors

duydinhvan avatar tienhieud avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

omi's Issues

Bugs

  • Trường hợp 1 đứa rời kênh bị gửi message linh tinh đến khách hàng
  • Gửi tin nhắn bình thường bị die do access token

Thêm nhóm quyền cho những người có thể reply tin từ messenger

Hiện tại tin nhắn gửi đến đang cho một mình Super Admin (ID:1)
Thêm nhóm quyền Messenger Replier để khi có tin nhắn đến
Sẽ phân bổ tin nhắn cho từng người theo logic sau:

  • Lấy ngẫu nhiên (tạm thời)
    Về sau sẽ có module kế thừa để xét lại logic phân bổ tin nhắn (có thể dựa vào từ khóa, phân loại khách hàng từ thông tin ban đầu, ...)

https://github.com/tienhieuD/omi/blob/master/omi_core/models/mail_channel.py#L25

Làm sao để lấy token dài hạn?

Hiện tại sau mấy tiếng là accesstoken đã hết hạn rồi. Làm sao để có thể lấy token dài hạn?
Cần tìm hiểu cách, có tham số truyền vào khi gửi request lấy token hay ko?

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.