Once the advocate is logged in your system you can get the share links using one of our SDKs and populate the share links as you want in your application. You can use links, QR codes, etc.
There are two ways you can use to get the share links for and advocate and publish them in your custom refer a friend page. The first method is to build your advocates share links by yourself by taking the information from the widgets packages page
and the second is to get the share links using an SDK
or our RESTful API
directly. Using the SDK to get the advocate's share links is very easy, we have implemented a method you can use for this purpose. You just need to know the
advocate_token, the campaign and the widget package you want your advocates to share. Check out the reference documentation
for more details.
Example using the PHP SDK: