Questions tagged [mgtwitterengine]

MGTwitterEngine is an Objective-C/Cocoa class which makes it easy to add Twitter integration to your own Cocoa apps.

MGTwitterEngine is an Objective-C/Cocoa class which makes it easy to add Twitter integration to your own Cocoa apps. It communicates with Twitter via the public Twitter API. To learn more about twitter API refer this URL : Twitter API. To download the MGTwitter engine library You can see this git Source : MGTwitterEngine

170 questions
24
votes
6 answers

TARGET_OS_IPHONE and ApplicationTests

Why doesn't this code work when compiling an ApplicationTests unit test bundle? #if TARGET_OS_IPHONE #import #import #else #import #endif One of my dependencies has this check and…
Matt Baker
  • 3,394
  • 3
  • 25
  • 35
11
votes
3 answers

Logic Error: The left operand of '&' is a garbage value

I used Twitter-OAuth-iPhone to synchronize the message in my app. It's all right in iOS4. After upgraded to iOS5, choose menu 'Product' > 'Analyze', and got a few warnings. In NSData+Base64.m, It's warning 'The left operand of '&' is a garbage…
Jimi
  • 1,091
  • 1
  • 14
  • 19
11
votes
11 answers

LibXML2.dylib and Xcode4

I just downloaded Xcode 4 and I cant seem to run my application as the MGTwitter... classes are complaining of a non inclusion error of LibXML2. I have imported it into the frameworks folder, and I have put the following in the header bit in the…
max_
  • 24,076
  • 39
  • 122
  • 211
10
votes
2 answers

How to get user details using twitter api v1.1 (Twitter error 215)

I have used the twitter api provided by twitter,to get the details but not able to execute it, even tried to pass the authentication data like consumer secret key, consumer key, token but the result is same. I am able to login and receiving twitter…
Raviraj Jadeja
  • 849
  • 6
  • 17
8
votes
3 answers

Error when using Twitter to log in to my iPhone app

I am using Twitter login to enter in my app. But when I click on the Twitter button, the Twitter page opens, but I get the following error: WHOA there!!! This page is no longer valid.it looks like someone already used the token information you…
Akshay Aher
  • 2,525
  • 2
  • 18
  • 33
7
votes
3 answers

Linking Error libxml2.dylib at Xcode 3.2.5 & SDK 4.2

I am trying to connect to twitter using oauth library. The library needs libxml2.dylib to be added. When adding this to SDK 4.1 or less the project build successfully. But when I use that with xcode 3.2.5 and SDK 4.2 I got errors about missing…
Noura
  • 722
  • 10
  • 24
5
votes
2 answers

MGTwitterEngine crash in iOS5

While MGTwitterEngine works well on previous versions of iOS, it failed with EXC_BAD_ACCESS at moment when I try to post twit: [twitter sendUpdate:textToShare]; The last list of Objective-C code executer is: [theRequest prepare]; inside…
Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87
5
votes
3 answers

Change the delegate of MGTwitterEngine

I have setup and successfully logged in via xAuth using an extended class of MGTwitterEngine, my question is if I want to pass this to another view controller, how can I change the delegate class, as it is some sort of weak reference @interface…
kgutteridge
  • 8,727
  • 1
  • 18
  • 23
5
votes
2 answers

Invite Twitter friends for app

How can we invite our Twitter friends/Followers for any app/Event using my app. For doing the same thing in Facebook I am posting some message to my friends wall. is there any way to do the same thing using MGTwitterEngine. Thank in advance
Vinod Singh
  • 1,374
  • 14
  • 25
4
votes
2 answers

objective-c : Twitter login error on iPad : Whoa there

I've been using the classic Ben Gottlieb Twitter Open Source project to create a twitter login for iPad. My code to instantiate the engine and display the login controller is: if (!_engine) { _engine = [[SA_OAuthTwitterEngine alloc]…
dpigera
  • 3,339
  • 5
  • 39
  • 60
4
votes
1 answer

Why do I get an HTTP 401 error with MGTwitterEngine?

After a long fight with OAuthConsumer, fixing method names, etc... I got MGTwitterEngine's demo compiled, but when I run it, the application quits with this in the Debugging Console: 2010-07-02 14:15:29.896 MGTwitterEngine[2076:a0f] Connection…
user142019
4
votes
3 answers

MGTwitter is not working

I don't want default twitter to open because it should be compatible with ios < 5 also . I've used MGTwitterEngine. But it doesn't post tweets. Before few days it was working fine with ios5 too. But now it's not working. I think twitter demo url is…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
4
votes
3 answers

iphone MGTwitterEngine - post a tweet with my app signature

I'm using MGTwitterEngine in an iPhone app, and it works great. The one thing I want to change is the "posted from MGTwitterEngine" that appears on Twitter. Obviously I'd like it to say "from MyCoolApp", and link to the app's website. When you…
steveY
3
votes
1 answer

Inconsistency with MGTwitterEngine for iOS?

Before, MGTwitterEngine was working perfectly for me, but now everytime I login, i get an invalid url exception from OAuth. I thought it was because i changed something but when I tried logging in from the iphone simulator, it worked (i was trying…
Andrew Park
  • 1,489
  • 1
  • 17
  • 26
3
votes
1 answer

Follow on Twitter using MGTwitterEngine iphone

I am using MGTwitterEngine for integrate Twitter on my iPhone application. so i want to follow a particular person using this library. can any one suggest me how i do this. Thanks
Mitesh Khatri
  • 3,935
  • 4
  • 44
  • 67
1
2 3
11 12