MailChimp for SiverLight

Jun 6, 2011 at 12:49 PM

Hi,

Is there any API/wrapper for SilverLight?

How do we integrate MailChimp  with silverlight?

Coordinator
Jun 6, 2011 at 9:31 PM

Silverlight is really limited. So I cannot just recompile the wrapper under this framework

But if U need only some of the functionality, like subscribe/unsubscribe, it's not difficult to create your own wrapper...

Jun 7, 2011 at 5:19 AM

Now i am creating my own wrapper. 

I am getting the error in 

mailChimp.ListBatchSubscribe(mailChimpListID, Batch, false, true, false);

mailChimpListID = ID of the list.

Batch = FNAME, LNAME, EMAIL, INTERESTS (The interests contains two groups from two different group titles. Two different groups are Dogs,Horses)

I am passing the Dogs and Horses is 

[INTERESTS]", "Dogs,Horses");

The Dogs is from 1st group title and Horses is from 2nd group title. The member is added successfully in 1st group title but not added to 2nd group title.

 

How can i solve this problem that the members can also added to the 2nd group title.

Coordinator
Jun 7, 2011 at 7:11 AM

Try GROUPINGS instead of INTERESTS

Jun 7, 2011 at 7:14 AM

I have also tried GROUPINGS but it also not worked. :(

Coordinator
Jun 7, 2011 at 7:34 AM

Do U url-encode querystring?

U should get something like:

apikey=<api_key>&id=<list_id>&batch[0][EMAIL]=xxx%40xxx.com&batch[0][EMAIL_TYPE]=html&batch[0][GROUPINGS][0][id]=1&batch[0][GROUPINGS][0][groups]=Dogs%2c+Horses

Jun 7, 2011 at 9:15 AM

Thanks, This solved my problem :)

I was just passing 

batch[0][GROUPINGS].groups = Dogs%2c+Horses

This statement was't giving any error but also not adding the members.

You this statement

batch[0][GROUPINGS][0][groups]=Dogs%2c+Horses

solved my problem.

Thanks :)