1

I need to integrate Twitter into my Cocoa application.

I tried MGTwitterEngine class: https://github.com/mattgemmell/MGTwitterEngine/

However I got several errors when I attached files to my project: yajl_parse.h, OAToken.h and CJSONDeserializer.h needed and I don't know where to find them:

enter image description here

Can you suggest me how to make MGTwitterEngine working or another way to integrate Twitter into my Cocoa app?

Ilya Blokh
  • 11,923
  • 11
  • 52
  • 84

1 Answers1

1

one of the Main reasons for getting the errors in libxml/xmlreader.h..

-> Go to Build settings search for Header Search Paths add this $(SDKROOT)/usr/include/libxml2

Edit:

You can download the sample project from this answer.. and add the libz.dylib framework... It works nicely...

Community
  • 1
  • 1
Aravindhan
  • 15,608
  • 10
  • 56
  • 71
  • It fixed problem with `libxml/xmlreader.h` , but how to fix `yajl_parse.h` and `OAToken.h`? – Ilya Blokh Feb 13 '12 at 13:31
  • This sample project is adopted for iOS, not for OSX project – Ilya Blokh Feb 13 '12 at 14:25
  • No, I still need `yajl_parse.h`, `OAToken.h` and `CJSONDeserializer.h`, look a screenshot in my post. I added lybxml2.dylib, it helped only with `xmlreader.h` – Ilya Blokh Feb 14 '12 at 04:07
  • look at this answer http://stackoverflow.com/questions/1338496/mgtwitterengine-for-iphone-sdk-errors – Aravindhan Feb 14 '12 at 04:21
  • let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/7651/discussion-between-aravindhanarvi-and-ilya-blokh) – Aravindhan Feb 14 '12 at 04:43