Getting widget interaction url
In order to make a widget interaction request you will need an access token.
The url can be retrieved using two of the following ways.
- From the response of the widgets request in the program resource mentioned in the Listing Widgets section, under the property
widget_interactions_url_template. This url, when used in a
GETrequest with a
profile_idas the path param, will always return the first page of widget interactions, which includes interactions for all widgets.
- Specific widgets can also be fetched by adding the query params of the widget kind as the key, with the matching widget id as the value. For example
- Every widget interaction result will contain properties
previous. These are optional urls that can be used in conjunction with your access token to retrieve more leaderboard entries.