botman / botman/studio

Facebook Bot Not Posting

Open
#75 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
332
Forks
91
PR merge metrics
No merged PRs in 30d

Description

I followed https://botman.io/2.0/installation and Tinker works fine.
![image](https://user-images.githubusercontent.com/2098694/49329461-192e7f80-f5ba-11e8-8e8e-e985051fab08.png)

When I added my Facebook messenger bot, the verification works.
When chatting with the bot, I receive the POST request as per Postman and ngrok, it responds 200 OK.
![image](https://user-images.githubusercontent.com/2098694/49329510-1718f080-f5bb-11e8-9bfc-46c33ab37207.png)

**Problem**
But I don't get actual reply from the bot.

**Setup**
```json
"require": {
"php": "^7.1.3",
"botman/botman": "~2.0",
"botman/driver-facebook": "^1.9",
"botman/driver-web": "~1.0",
"botman/studio-addons": "~1.3",
"botman/tinker": "~1.0",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0"
}
```

**Possible cases**
- Graph version and endpoint mismatch
I am not sure if this matters but I noticed that the endpoint that the bot uses is for `v3.0`

https://github.com/botman/driver-facebook/commit/d26cb64bcb6087d7a55be3c4d4c0b25ff297fbc6

whereas as of writing new apps acquire `v3.2`

![image](https://user-images.githubusercontent.com/2098694/49329442-ec7a6800-f5b9-11e8-9bb6-a58984f193a6.png)

`laravel.log` is empty

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.