Simpoll API enables interaction of your site with any poll of Simpoll in several ways. the key task solved by Simpoll API — is sending of poll results to your site for further processing.
Simpoll API can be used for:
Basically, flow chart of Simpoll API consists of the following steps:
Thus, besides notifying you on results, the poll of Simpoll can serve as « proxy» for any your data.
Parameters can be sent to Result URL in one of three ways:
Data are sent in background mode, unnoticeable for the user and without use of his/her browser. Inquiry is sent when the user presses «Send» button on the last page of the poll.
Data are sent by redirect of user’s browser to Result URL with GET-parameters added to URL. The user is redirected from the last page of the poll. Thus, option «Open page when the poll is finished» in poll settings is ignored.
In this case your parameters and poll results are sent by Javascript-function call on the page where Simpoll poll is integrated. The function has set name and one argument — object settings of which contain your parameters and poll results.
This method has technical restrictions, since cross-domain data transmission between the frame and your page will not function in Internet Explorer under 8 version and some mobile browsers.
Simpoll API supports use of control signature for received and transferred data. Use of signature is not obligatory, but it ensures that data won’t be changed by third party during transfer.