{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1322","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1322/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1322/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1322/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1322","id":179034246,"number":1322,"title":"\"The 'form' field is unrecognized\" - Facebook REST","user":{"login":"Freshchris01","id":3072291,"avatar_url":"https://avatars.githubusercontent.com/u/3072291?v=3","gravatar_id":"","url":"https://api.github.com/users/Freshchris01","html_url":"https://github.com/Freshchris01","followers_url":"https://api.github.com/users/Freshchris01/followers","following_url":"https://api.github.com/users/Freshchris01/following{/other_user}","gists_url":"https://api.github.com/users/Freshchris01/gists{/gist_id}","starred_url":"https://api.github.com/users/Freshchris01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freshchris01/subscriptions","organizations_url":"https://api.github.com/users/Freshchris01/orgs","repos_url":"https://api.github.com/users/Freshchris01/repos","events_url":"https://api.github.com/users/Freshchris01/events{/privacy}","received_events_url":"https://api.github.com/users/Freshchris01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T15:02:04Z","updated_at":"2016-09-25T02:53:48Z","closed_at":null,"body":"When I send a message to the Facebook bot via REST Api with the following JSON, I get the response the 'from' field is unrecognized, but it's actually here.\r\n`{\r\n  \"type\": \"message\",\r\n  \"id\": \"...\",\r\n  \"timestamp\": \"2016-09-24T02:47:03.8956722Z\",\r\n  \"serviceUrl\": \"https://facebook.botframework.com\",\r\n  \"channelId\": \"facebook\",\r\n  \"from\": {\r\n    \"id\": \"...\",\r\n    \"name\": \"...\"\r\n  },\r\n  \"conversation\": {\r\n    \"id\": \"...\"\r\n  },\r\n  \"recipient\": {\r\n    \"id\": \"...\",\r\n    \"name\": \"bstest\"\r\n  },\r\n  \"text\": \"Hy, from remote!\",\r\n  \"channelData\": {\r\n    \"sender\": {\r\n      \"id\": \"...\"\r\n    },\r\n    \"recipient\": {\r\n      \"id\": \"...\"\r\n    },\r\n    \"timestamp\": 1474685223681,\r\n    \"message\": {\r\n      \"mid\": \"...\",\r\n      \"seq\": 35,\r\n      \"text\": \"Testtest\"\r\n    }\r\n  }\r\n}`"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/249399430","html_url":"https://github.com/Microsoft/BotBuilder/issues/1322#issuecomment-249399430","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1322","id":249399430,"user":{"login":"dandriscoll","id":5069805,"avatar_url":"https://avatars.githubusercontent.com/u/5069805?v=3","gravatar_id":"","url":"https://api.github.com/users/dandriscoll","html_url":"https://github.com/dandriscoll","followers_url":"https://api.github.com/users/dandriscoll/followers","following_url":"https://api.github.com/users/dandriscoll/following{/other_user}","gists_url":"https://api.github.com/users/dandriscoll/gists{/gist_id}","starred_url":"https://api.github.com/users/dandriscoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandriscoll/subscriptions","organizations_url":"https://api.github.com/users/dandriscoll/orgs","repos_url":"https://api.github.com/users/dandriscoll/repos","events_url":"https://api.github.com/users/dandriscoll/events{/privacy}","received_events_url":"https://api.github.com/users/dandriscoll/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T02:53:48Z","updated_at":"2016-09-25T02:53:48Z","body":"Hi @Freshchris01, the 'from' field's ID must match your bot's identity within the channel (i.e., your bot's FB ID) and it must be consistent with the MSA App ID your bot used to authenticate the request.\r\n\r\nThe Bot Builder copies this from the 'recipient' field in incoming requests. Is that the value you're using?"}}
{"actor":{"display_login":"dandriscoll"}}