react-facebook icon indicating copy to clipboard operation
react-facebook copied to clipboard

Support cta_text attribute for SendToMessenger

Open srameshr opened this issue 5 years ago • 4 comments

srameshr avatar Apr 08 '20 07:04 srameshr

Here is a PR: https://github.com/seeden/react-facebook/pull/169

srameshr avatar Apr 08 '20 08:04 srameshr

@seeden

srameshr avatar Apr 10 '20 08:04 srameshr

@seeden When could this possibly become available?

AlexSapoznikov avatar Jun 10 '20 08:06 AlexSapoznikov

For anyone trying to use cta_text right now, here's a workaround for now:

<Parser>
    {
      () => (
        <div className="fb-send-to-messenger"
             messenger_app_id={appId}
             page_id={pageId}
             data-ref={dataRef}
             cta_text="GET_THIS_IN_MESSENGER"
             data-size="xlarge"
             color="white"
        />
      )
    }
</Parser>

AlexSapoznikov avatar Jun 10 '20 11:06 AlexSapoznikov

added in latest release

seeden avatar Dec 02 '22 20:12 seeden