{"id":69,"date":"2013-09-23T20:00:33","date_gmt":"2013-09-23T14:00:33","guid":{"rendered":"https:\/\/redqueencoder.com\/?p=69"},"modified":"2013-09-23T20:00:33","modified_gmt":"2013-09-23T14:00:33","slug":"twitter-app-tutorial","status":"publish","type":"post","link":"https:\/\/redqueencoder.com\/twitter-app-tutorial\/","title":{"rendered":"Twitter App Tutorial"},"content":{"rendered":"<p>One of our assignments this semester is to create an App.net client for class. I have been looking for some clear-cut explanations about how to make a microblogging app utilizing an API, but it has been rather challenging. Most of the documentation out there has been about how to create a Twitter app. <\/p>\n<p>I decided to spend today working with <a href=\"http:\/\/www.raywenderlich.com\/21558\/beginning-twitter-tutorial-updated-for-ios-6\">this tutorial<\/a> explaining how to create a simple Twitter app.<\/p>\n<p>I have to say, I am disappointed with some of these tutorials. Every time I try to run one it crashes on me with weird unknown errors. The debugger says that the code is fine but then when I try to run it the program crashes.<\/p>\n<p>For this tutorial I was able to download a completed version of the code and run it on my machine. It looks like the same thing I have been doing, so I really don&#8217;t know. I am wondering if I have something set up incorrectly in the new Xcode.<\/p>\n<p>One thing I will focus on soon (probably not today) is getting better at debugging things. I will add more NSLog statements and breakpoints to see exactly where my code is going off the rails.<\/p>\n<p>Anyway, back to the point of this exercise. I hoped that doing this tutorial would give me ideas about how to do an App.net client. Sadly, this does not. There is a built-in framework for both Facebook and Twitter that was created by Apple with a lot of methods coded in to maximize productivity for coding clients for those two technologies. <\/p>\n<p>Interestingly, there are three microblogging sites that the frameworks supports. The third one is Sina Weibo, or the Chinese equivalent of Twitter.<\/p>\n<p>I did notice that the site I am going to for most of my tutorials has everything in either English or Mandarin. I guess this is fitting in with Apple&#8217;s apparent market strategy of targeting China. I should get my butt in gear and actually learn Mandarin one of these days. I just worry that knowing Chinese will be the equivalent of learning Japanese in the 80&#8217;s.<\/p>\n<p>Final verdict: This tutorial would be fine for someone wanting to write a Twitter client but it doesn&#8217;t help me very much currently with my App.net client. It does give me an idea of what a social networking framework would include and it might indirectly help me when we get into ADNKit and some of the other user created frameworks out there.<\/p>\n<p>I will probably come back to this one when I start delving deeper into the finer points of debugging. There is no reason that I can see why my code would have crashed and I need to delve deeper into figuring it out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of our assignments this semester is to create an App.net client for class. I have been looking for some clear-cut explanations about how to make a microblogging app utilizing an API, but it has been rather challenging. Most of the documentation out there has been about how to create a Twitter app. I decided [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,36],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-programming","category-school"],"_links":{"self":[{"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redqueencoder.com\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}