Reputation: 1056
I'm making a web site that users can build their TV watch list. They can save how many episodes in a show have they watched.
As some shows may have over 200 episodes, pushing one event per one episode is not really feasible so I use only one event for a show.
How do I update the episodes count after the user have updated their data?
(User cannot watch the same show multiple times, so one show can only have one open graph event)
Upvotes: 2
Views: 134
Reputation: 400
As I got it, you have two possibilities:
window.onunload
or similar jquery alternatives).Upvotes: 1