How to integrate Mailchimp api into my iOS Swift app - ios

I have an app I created in Swift with my database built with Parse. I know how to export data from Parse and update my subscriber list for Mailchimp, but how do I have my app automatically update that list when a user creates a new account? I've been researching how but I haven't come across anything that can help me yet. Also everything seems to be in Objective-C. I've used bridging headers before, but I don't know if that will be necessary or not. Any guidance would be a lot of help!

Is it possible to hook into this API endpoint that's part of the Mailchimp API...
https://apidocs.mailchimp.com/api/2.0/lists/batch-subscribe.php

Honestly, I wouldn't do this. It would require you to distribute your MailChimp API key with your app, which would give any person who downloaded that app full control over your account.
You'll either want a back-end service that connects to MailChimp or look into IFTTT or Zapier for Parse and MailChimp integrations.

Related

How to call WiziQ API from iOS?

I want to integrated WiziQ api with my iOS app. I have created account on it but i do't getting how to call that api using "Access Key" and " Secret Key". I have lots of googling but not getting any idea to how to create User authentication and call list of api.If any one have idea let me know.
Wanted to share that WizIQ API is not open source. You cannot integrate it with your iOS App by yourself. However, you can get it done through WizIQ itself as they provide whitelabelling services for the app.
Hope it helps.
If you simply scratch the surface of the WizIQ developer site, it reveals the following about receiving the keys you speak of, specifically on the Get API Keys page:
To obtain an API key, you need to upgrade your account. Contact our sales team here or call
us at +1-919-647-4727.

How do I use Mandrill to send a simple email to my Parse powered apps administrator in iOS 7?

I can't find any clear examples on how to get started.
My app uses the parse framework and I've registered a Mandrill account.
The instructions aren't clear to be honest.
Would appreciate some help.
I've gone on both parse and mandrills websites and looked at the getting started docs but it still makes little sense to me.
Do I create a JSON file in my app?
Does it need to be in a particular folder?
Please help me get started.
Kind regards
For sending mail using mandrill when using parse.com, it should be done using parse.com cloud functions
starting with parse.com cloud functions
mandrill starting guide
Recently i worked with integration of mailgun with parse.com

IOS twitter feed tutorial

I am currently building an app where they require all their users to be able to view their feeds only.
I looked at a lot of tutorials online which talk about the new api v1.1 of twitter and now authentication is required at all times.
I see a lot of examples and even successfully followed several of them like
http://www.appcoda.com/ios-programming-101-integrate-twitter-and-facebook-sharing-in-ios-6/
I even saw a tutorial posted on the twitter dev page.Following all of these focused on a few key elements
Using ACAccount to retrieve the account settings of the current user
Using the SLRequest to encapsulate the HTTP request made to the twitter api
Retrieving the data in JSON format, parsing it and presenting it to the user
Well my question is, I do not want user specific feeds. It's like a company updates their twitter regularly, users using the app should get feeds regarding the company. So I was wondering if there was a way, the app provides some default or hard coded authentication information ?
Is there some sort of tutorial, library or anything out there to help me move in the correct direction ?
Thank You for your time and help.
Your going to want to implement the following API call to get that information:
https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
Once your application is authorized you can make a call to,
https://dev.twitter.com/docs/api/1.1/get/statuses/MorleyGaelsGAA.json
That should give you the information you're looking for.

iOS upgrade to twitter api 1.1

I currently have a bunch of apps that go and make simple anonymous calls to the twitter API, and grab several differing timelines. Obviously, twitter is changing things up with 1.1, and is demanding authenticated calls using oauth. Does that mean each of my users need a token (their own account) to do call, or do I need one app token for all of them? Should I be using the twitter api included with iOS 5? Note: These are not the user's timeline...just several news feeds on twitter. Am a bit confused. Any pointers would be appreciated.
This is a good question, I struggled with this myself.
You can use Twitter API client via PHP and then json_encode the user timeline you want and parse it. This is not the best practice, but is a work around I had to do for an app on which I wanted to only display tweets no other action was need, like getting links, retweets, etc.
hope this serves.

iOS-Is there any method available for fetching CTCoreMessage with specific key words from CTCoreAccount or CTCoreFolder in Mailcore library?

I am developing one IOS Application in which i am integrate Gmail via Mailcore library, Now I want add search functionality for Inbox for which user can search their Email Subject and Body. But i am not aware how to implement it. Can anyone help me out? Is there any sample source code for this in Mailcore?
Use this it has search functionality
http://code.google.com/p/remail-iphone/
MailCore api I've developed same kind of app and have use it. They provide access to IMAP and SMTP servers.
Download from here
https://github.com/mronge/MailCore/

Resources