Issues with Subscription Deactivations - Setting Status back to Active

4 views
Skip to first unread message

Kevin

unread,
Jun 7, 2010, 6:11:14 PM6/7/10
to MySpace APIs
Just a small use case, where once a subscription is deactivated, and
then reactivated the subscription is immediately deactivated.

1) Create a new MySpace subscription
a. We store the SubId in our database
b. This subId will be used for subscription updates for every
new search.

2) MySpace deactivates the subscription - for whatever reason, this
generally happens after we've received a number of results, however, I
still am stumped on why these subscriptions are actually getting
deactivated so readily. But that is another problem entirely.

3) Add another query(search term) for the MySpace Subscription
a. Here we just simply update the "Query" portion to have Or :
[ { Text: "search_term_1" } { Text : "search_term_2" }.... {Text:
"search_term_n" }] -- this is necessary due to the 20 subscription
limit.
b. We also set "Status":"Active" – which according to the
documentation, if the subscription was deactivated previously, this
will reactivate the subscription.

4) What we are noticing is that despite setting the status to active
again, MySpace immediately deactivates that subscription again. This
renders the subscription useless for every searchterm associated with
it.

5) Everything works fine as long as that subscription is never
deactivated, but subscription deactivations seem to happen quite
frequently. The fact that the subscription can not be reactivated
after this results in the following workaround, which is to simply
delete the old subscription and create a brand new one.

Would be nice if subscriptions weren't deactivated so readily, and
also when they are reactivated they actually stay active.

m.ensing

unread,
Jul 24, 2010, 12:11:24 AM7/24/10
to MySpace APIs
Kevin,

After you handle the POST message that we send to your server, do you
return a 200 (or 201) back to us?

We have had issues with other customers not responding with a proper
responds message.

Marco
Reply all
Reply to author
Forward
0 new messages