Sections in this category

Authorization of applications on admitad.com

  • Updated

You may create any integrated application uploaded from your server using an IFrame element built on Admitad page. Such applications can display information by means of any technologies supported by the user browser: HTML, JavaSсript, AJAX, Flash, etc.

Due to the fact that admitad.com uses a secure protocol (HTTPS), your website uploaded in our ‘container’ shall also use HTTPS protocol. Buy an SSL-certificate and install it on your server.

 

Application launch parameters

When the application is displayed by means of a request line (GET or POST method), the following parameters are sent to the application:

  • signed_request
  • retloc is the URL of the page in which iframe with the application are built.

    Example of ``retloc``

    https%3A//admitad.com/appstore/app/getcoupon/

 

Example of a request

https://getcoupons.com/?signed_request=d3ddf1100c5e47a466cafe1e0dc8cb40a4f
7bc3219744be1e049dd6d7a76450c.eyJ1c2VybmFtZSI6ICJhZHZlcnRpc2VyMSIsICJmaXJ
zdF9uYW1lIjogIm5hbWUiLCAibGFzdF9uYW1lIjogInN1cm5hbWUiLCAiYWxnb3JpdGhtIjog
IkhNQUMtU0hBMjU2IiwgImxhbmd1YWdlIjogInJ1IiwgImFjY2Vzc190b2tlbiI6ICIwODdkN
mNjNDM3IiwgImV4cGlyZXNfaW4iOiA2MDgwMCwgImlkIjogMTMwOTAsICJyZWZyZXNoX3Rva2
VuIjogIjc1MjFiNzY0MGMifQ==&retloc=https%3A//apps.admitad.com/getcoupons/

Was this article helpful?

1 out of 1 found this helpful