mgtwitterengine

Updating MGTwitterEngine to New Twitter API v1.1

爱⌒轻易说出口 提交于 2020-01-25 03:37:06
问题 I am currently updating my app to .json from xml for Twitters new API v1.1. I currently have .json working and can log on, get me timelines, mentions, but when trying to get direct messages, lists, or user info it seems its looking for "cookies" but it is not stored. This is the error message received by twitter when trying to make a simple GET user/show call: Twitter request failed: 08AD12D3-0044-49AB-8D3D-4E61D8398550 with error:Error Domain=HTTP Code=400 "The operation couldn’t be

MGTwitterEngine crash in iOS5

删除回忆录丶 提交于 2019-12-29 07:47:08
问题 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 SA_OAuthTwitterEngine.m. This is call stack: #1 0x00045a63 in -[OAMutableURLRequest URLEncodedString:] at /Users/ben/Dropbox/Dev/External Projects/Twitter-OAuth-iPhone/OAuthConsumeriPhoneLib/OAuthConsumerSrc/OAMutableURLRequest.m:287 #2 0x000445fa in -

How to do a RETWEET on an iPhone twitter app (MGTwitterEngine)

二次信任 提交于 2019-12-29 07:19:08
问题 How to do a RETWEET on an iPhone twitter app (MGTwitterEngine) 回答1: It seems that this function hasn't supported in mattgemmell / MGTwitterEngine yet. In the meantime, you can add that function to your current version of MGTwitterEngine by referencing this variant of MGTwitterEngine: freeatnet / MGTwitterEngine - (NSString *)sendRetweet:(unsigned long)updateID { if (updateID == 0){ return nil; } NSString *path = [NSString stringWithFormat:@"statuses/retweet/%u.%@", updateID, API_FORMAT];

Twitter API : How to get a list of users that a Twitter's user follow (MGTwitterEngine for Obj-C)

柔情痞子 提交于 2019-12-24 07:58:02
问题 I'm wondering if I'm allowed to get a list of friends that a twitter's user follow (following list) through MGTwitterEngine for Obj-C ? If it's possible, please direct me how to do it Thanks 回答1: You're allowed. MGTwitterEngine has sample code for their methods in AppController.m. This is the method for retrieving a list of who anyone is following. [twitterEngine getFriendIDsFor:@"username_here" startingFromCursor:-1] 回答2: ADD this to MGTwitterEngine.h along with followers methods - (NSString

How to get twitter profile pic using api 1.1 from iOS?

为君一笑 提交于 2019-12-21 23:12:39
问题 I am using MGTwitterEngine lib to authenticate Twitter account, but after successful login I want to get user profile pic but not able to get it and following method is stopped working: https://api.twitter.com/1.1/users/profile_image?screen_name=username&size=bigger I just tried above method but no success. Then I have did lot of research on it and I finally got following api to get user profile information which include profile pic: https://api.twitter.com/1.1/users/show.json?screen_name

iphone MGTwitterEngine - post a tweet with my app signature

时间秒杀一切 提交于 2019-12-18 17:08:05
问题 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 register an app with Twitter (http://twitter.com/oauth_clients/create), you get this info: * Consumer key ***a891tcxSvL6QpEeo12g * Consumer secret ***MqeRIXiWsecretAdAjCgFsBN7Lef12f3uyxJFrs * Request token URL http://twitter.com/oauth/request_token *

iphone MGTwitterEngine - post a tweet with my app signature

我怕爱的太早我们不能终老 提交于 2019-12-18 17:07:57
问题 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 register an app with Twitter (http://twitter.com/oauth_clients/create), you get this info: * Consumer key ***a891tcxSvL6QpEeo12g * Consumer secret ***MqeRIXiWsecretAdAjCgFsBN7Lef12f3uyxJFrs * Request token URL http://twitter.com/oauth/request_token *

logout from Twitter in iPhone using OAuth+MGTwitterEngine Library

喜夏-厌秋 提交于 2019-12-18 04:23:32
问题 I had made the twitter application using the OAuth and MGTwitterEngine Library. The login phase is working fine but I am facing problem in logout. I had referred all the post of logout for OAuth but it doesn't works. So can anyone suggest the perfect method for logout from the Twitter ...? OR What changes I have to make in the Library file for the logout..!! 回答1: There is no sign out from Twitter OAuth/xAuth... you need to implement client side solution: persistently store the access token in

MGTwitterEngine for Iphone Authentication xAuth oAuth

☆樱花仙子☆ 提交于 2019-12-14 03:17:08
问题 All I am try to integrate twitter in Iphone application As twiiter not allow the xAuth by default then How show I use it.. When will twitter approve xAuth for my application. As now it is in developing stage AND one more thing I have add the oAuthConsumer file in my application with MGTwitterEngine then how I call the oAuth. Now I am calling like that twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self]; [twitterEngine setUsesSecureConnection:NO]; [twitterEngine setConsumerKey

iPhone meets Twitter implementation recieves NSURLErrorDomain error

て烟熏妆下的殇ゞ 提交于 2019-12-13 00:11:17
问题 I have implemented MGTwitterEngine in my application and it works near to perfect. The first "weird" thing that happends when I push the UIViewController where the Twitter form is, I recieve this in the Console: This app was previously authorized for a Twitter account so you can press the second button to send a tweet now. Should I hide the login form or what is your recommendation? The second "weird" thing that happends is when I the press the "Send tweet"-button it works and the message is