{"action":"created","issue":{"url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/248","repository_url":"https://api.github.com/repos/RasaHQ/rasa_core","labels_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/248/comments","events_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/248/events","html_url":"https://github.com/RasaHQ/rasa_core/issues/248","id":301384311,"number":248,"title":"how to modify stories.md to send custom messages to facebook","user":{"login":"freakeinstein","id":19545678,"avatar_url":"https://avatars1.githubusercontent.com/u/19545678?v=4","gravatar_id":"","url":"https://api.github.com/users/freakeinstein","html_url":"https://github.com/freakeinstein","followers_url":"https://api.github.com/users/freakeinstein/followers","following_url":"https://api.github.com/users/freakeinstein/following{/other_user}","gists_url":"https://api.github.com/users/freakeinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/freakeinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freakeinstein/subscriptions","organizations_url":"https://api.github.com/users/freakeinstein/orgs","repos_url":"https://api.github.com/users/freakeinstein/repos","events_url":"https://api.github.com/users/freakeinstein/events{/privacy}","received_events_url":"https://api.github.com/users/freakeinstein/received_events","type":"User","site_admin":false},"labels":[{"id":695658692,"url":"https://api.github.com/repos/RasaHQ/rasa_core/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-01T12:19:39Z","updated_at":"2018-03-02T06:31:50Z","closed_at":null,"author_association":"NONE","body":"<!-- THIS INFORMATION IS MANDATORY - YOUR ISSUE WILL BE CLOSED IF IT IS MISSING. If you don't know your Rasa Core version, use `pip list | grep rasa_core`. Removing the below information is allowed for FEATURE REQUESTS. --> \r\n\r\n**Rasa Core version**: 0.8.3\r\n\r\n**Python version**: 3.6.3\r\n\r\n**Operating system** (windows, osx, ...): ubuntu\r\n\r\n**Issue**: how to modify `stories.md` to send custom messages to facebook? The documentation is not clear about this.\r\n\r\n\r\n\r\n**Content of domain file** (if used & relevant):\r\n```yaml\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/comments/369834546","html_url":"https://github.com/RasaHQ/rasa_core/issues/248#issuecomment-369834546","issue_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/248","id":369834546,"user":{"login":"freakeinstein","id":19545678,"avatar_url":"https://avatars1.githubusercontent.com/u/19545678?v=4","gravatar_id":"","url":"https://api.github.com/users/freakeinstein","html_url":"https://github.com/freakeinstein","followers_url":"https://api.github.com/users/freakeinstein/followers","following_url":"https://api.github.com/users/freakeinstein/following{/other_user}","gists_url":"https://api.github.com/users/freakeinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/freakeinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freakeinstein/subscriptions","organizations_url":"https://api.github.com/users/freakeinstein/orgs","repos_url":"https://api.github.com/users/freakeinstein/repos","events_url":"https://api.github.com/users/freakeinstein/events{/privacy}","received_events_url":"https://api.github.com/users/freakeinstein/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T06:31:50Z","updated_at":"2018-03-02T06:31:50Z","author_association":"NONE","body":"@tmbo yes, that tutorial worked for me. But I'm unable to send generic template message that Facebook supports. But currently, I'm trying an alternative method. Instead of defining the message directly in domain.yml I'm trying to send it from python code by defining a custom action. From [this](https://github.com/RasaHQ/rasa_core/tree/master/examples/restaurantbot) example, Inside the file bot.py, I've seen text messages are being sent to Facebook via dispatcher.utter_message() method. I tried sending JSON code through it and didn't work. How could I send custom messages to fb from python code?"}}
{"actor":{"display_login":"freakeinstein"}}