Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement file upload functions? #16

Closed
mywarr opened this issue Feb 9, 2017 · 1 comment
Closed

Implement file upload functions? #16

mywarr opened this issue Feb 9, 2017 · 1 comment
Assignees

Comments

@mywarr
Copy link

mywarr commented Feb 9, 2017

Do you have plan implementing file upload functions?
For now it only accept attachment from payload.
it would be great if botly can upload attachment from local files or streaming from other libs such as node-webshot.

curl  \
  -F recipient='{"id":"USER_ID"}' \
  -F message='{"attachment":{"type":"file", "payload":{}}}' \
  -F filedata=@/tmp/receipt.pdf \
  "https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN" 
@miki2826 miki2826 self-assigned this Feb 10, 2017
@miki2826
Copy link
Owner

miki2826 commented Mar 4, 2017

added in 730318e

@miki2826 miki2826 closed this as completed Mar 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants