Skip to content

Send image from file #17

@achimha

Description

@achimha

Currently it appears the API wrapper only supports sending image as URLs but not as files. The Facebook API supports this and it should be done using CURLFile in PHP.

Any plans to add this?

curl
-F recipient='{"id":"USER_ID"}'
-F message='{"attachment":{"type":"image", "payload":{}}}'
-F filedata=@/tmp/testpng.png
"https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions