Data Integration
Mandatory Events
Social Apps
3 min
use the following events for social apps upvote user to upvote a user on the app properties 117,112,112,407 false unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type code example the following example includes optional properties too const props = { "customerid" "c1234", "refcode" "r1234" }; cooeesdk sendevent("upvote user", props);const props = { 'customerid' 'c1234', 'refcode' 'r1234' }; cooeesdk sendevent('upvote user', props);map\<string, object> props = new hashmap<>(); props put("customerid" "c1234"); props put("refcode" "r1234"); cooeesdk sendevent("upvote user", props);val props = mapof( "customerid" to "c1234", "refcode" to "r1234" ) cooeesdk sendevent("upvote user", props)nsdictionary props = @{ @"customerid" @"c1234", @"refcode" @"r1234" }; @try { \[cooeesdk sendeventwitheventname @"upvote user" eventproperties\ props error\ nil]; } @catch (nsexception exception) { nslog(@"%@", exception reason); } @finally { nslog(@"finally condition"); }let props = \[ "customerid" "c1234", "refcode" "r1234" ] do { try cooeesdk sendevent(eventname "upvote user", eventproperties props) } catch { print("\\(error)") } dart var props = { "customerid" "c1234", "refcode" "r1234" }; cooeesdk sendevent("upvote user", props);