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

Message prop not working on Facebook Button #53

Open
bobby-hewitt opened this issue Apr 23, 2017 · 2 comments
Open

Message prop not working on Facebook Button #53

bobby-hewitt opened this issue Apr 23, 2017 · 2 comments

Comments

@bobby-hewitt
Copy link

bobby-hewitt commented Apr 23, 2017

The message prop seems to work on Twitter but not Facebook. Any advice?

<FacebookButton appId="..........." url="www.google.com" message='Message goes here'>

<TwitterButton url="www.google.com" message='Message goes here'>
@vjokic
Copy link

vjokic commented Jun 21, 2017

I've noticed the same behaviour. The message field will indeed be prepended as part of the url, but it doesn't reflect on the actual sharing window from what I can tell.

@vjokic
Copy link

vjokic commented Jun 21, 2017

I looked through the source and noticed that the "caption" parameter is being set with the "message" property. According to the Facebook API docs, the caption param has been deprecated since April of this year.

https://developers.facebook.com/docs/sharing/reference/feed-dialog/

I can't see a way to set the message. I imagine it has to do with security and abuse reasons on Facebook's part so they're eliminating another vector that could be used to stuff messages and post as legit users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants