Giter VIP home page Giter VIP logo

Comments (4)

tgallice avatar tgallice commented on July 18, 2024

Can you paste the payload ?

from fb-messenger-sdk.

Shaked avatar Shaked commented on July 18, 2024

from fb-messenger-sdk.

tgallice avatar tgallice commented on July 18, 2024

Hmm, good question. Maybe some payloads has a is_echo but it's not an echo message. We probably need to ensure the is_echo=true.

from fb-messenger-sdk.

Shaked avatar Shaked commented on July 18, 2024

This is still happening btw:

[04-Apr-2018 16:23:46 America/Los_Angeles] PHP Notice:  Undefined index: app_id in D:\home\site\wwwroot\vendor\tgallice\fb-messenger-sdk\src\Model\Callback\MessageEcho.php on line 76

Body:

{
  "object": "page",
  "entry": [
    {
      "id": "211444285928598",
      "time": 1522884225957,
      "messaging": [
        {
          "sender": {
            "id": "211444285928598"
          },
          "recipient": {
            "id": "1322485044518840"
          },
          "timestamp": 1522840006011,
          "message": {
            "is_echo": true,
            "mid": "mid.$cAACauqdTV4howZu1e1ikFZsrvpPW",
            "seq": 121,
            "text": "ראיתם פרח? רוצים לדעת איך קוראים לו? שלחו לי הודעה ואגדיר לכם אותו באופן מיידי.\nFlowerzBot- מגדיר פרחים אוטומטי בפייסבוק.",
            "attachments": [
              {
                "title": "ראיתם פרח? שלחו הודעה!",
                "url": "https://facebook.com/story.php?story_fbid=233273423745684&id=211444285928598",
                "type": "template",
                "payload": null
              }
            ]
          }
        }
      ]
    }
  ]
}

I'd imagine it's a FB bug according to their docs, isn't it?

EDIT:

Seems like it is: https://developers.facebook.com/bugs/1801043423259990/

from fb-messenger-sdk.

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.