Display, and Vote on, Polls

When you come across a ScribbleLive post that contains a poll, you’ll need to make this call to get the poll data:

/poll/{Poll Id}?Token={API Token}
Once you have the post on the page, you’ll want to let people vote on it, here’s the call for that:
/poll/{Poll Id}/vote/{Answer ID}?Token={API Token}

Once you’ve submitted the vote, get the new poll results using the first call above and display the results without the ability to vote.

Advertisements