Developers » Authorization Widget
Authorization Widget
Using Authorization widget you can easily provide users with the possibility to be authorized on your resource. Before authorization, users can view their photos and photos of their friends who are already authorized.á

Widget supports two types of authorization:
  • standard Ś user will be redirected to URL specified ináauthUrláparameter with the following fields:áuid, first_name, last_name, photo, photo_rec, hash.
  • dynamic Ś after authorization, onAuth function will be called with the data object containingáuid, first_name, last_name, photo, photo_rec, session, hash fields. User will also be authorized in openApi.

To check authorization you can use the receivedáhash parameter and compare it to md5ásignature ofáapp_id+user_id+secret_key, e.g. md5(194253766748fTanppCrNSeuYPbA4ENCo)

Widget can also be used together with otheráwidgetsáandáOpen API
Add This Widget to Your Site
To add the widget to your website, simply paste the embeding code to the page you want the widget to be on.
Site/application:
Authorization type:
Width:
Embedding code:
Go to full widget description ╗