Yep, there’s an API for that. It’s called Categories API. You can find more info here. Hope it helps!
Thread Starter
Satish
(@technotip)
Hope we should register the user here ..
register = function(os, token) {
var baseUrl;
baseUrl = 'http://example.com/pnfw';
if (!baseUrl) {
return $q.reject();
}
return $http({
method: 'POST',
url: baseUrl + '/register',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
transformRequest: function(obj) {
var p, str;
str = [];
for (p in obj) {
str.push(encodeURIComponent(p) + '=' + encodeURIComponent(obj[p]));
}
return str.join('&');
},
data: {
os: os,
token: token
}
});
};
token=device_id&os=iOS&id=3&exclude=true
where to add it? and we need to add multiple ids to the URL if the user wants to subscribe to multiple categories?
Please note that we do not give client-side code level support on the plugin.