Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter 1.1 comaptibility #117

Open
SajjadRaza opened this issue Jun 27, 2013 · 14 comments
Open

Twitter 1.1 comaptibility #117

SajjadRaza opened this issue Jun 27, 2013 · 14 comments

Comments

@SajjadRaza
Copy link

A few weeks back Twitter has made transition from 1.0 to 1.1 , and existing version of libraray has issue with new API 1.1. My application has stopped working.

Could any one let me know what changes are required to this library.

Thanks in advance.

@SajjadRaza
Copy link
Author

Error Domain=HTTP Code=403 "The operation couldn’t be completed. (HTTP error 403.)" After login Controller it is giving above described error

@Soumya81
Copy link

Login Controller works fine I can get the access token, but during posting a message it fails with error "The operation couldn't be completed (HTTP error 410)".
Please help to fix this issue.

@hemangshah
Copy link

Me too having the same issue with current library, as twitter API changes from v.1.0 to v.1.1. Where's the developer? Is update will being available?

@lhmgrassi
Copy link

What do you need? I made some changes to support login and make tweets...

On Thu, Sep 12, 2013 at 9:05 AM, Hemang Shah notifications@git.luolix.topwrote:

Me too having the same issue with current library, as twitter API changes
from v.1.0 to v.1.1. Where's the developer? Is update will be available?


Reply to this email directly or view it on GitHubhttps://github.com//issues/117#issuecomment-24313061
.

@hemangshah
Copy link

The current library, I am using now showing the error like, `Domain=HTTP Code=410 "The operation couldn't be completed. (HTTP error 410.)" so I searched for that, and found that twitter have been updated. I am not sure, about Twitter-OAuth-iPhone library to update for the same or not? Did you update it recently and checked?

@lhmgrassi
Copy link

A made a couple of changes. Basically you need:

1 - add yajl json parser to your project
2 - change TWITTER_DOMAIN to @"api.twitter.com/1.1"
3 - change YAJL_AVAILABLE 0 to YAJL_AVAILABLE 1

If there's anything you need, don't hesitate to ask.

best regards,

Grassi

On Thu, Sep 12, 2013 at 10:24 AM, Hemang Shah notifications@git.luolix.topwrote:

The current library, I am using now showing the error like, `Domain=HTTP
Code=410 "The operation couldn't be completed. (HTTP error 410.)" so I
searched for that, and found that twitter have been updated. I am not sure,
about Twitter-OAuth-iPhone library to update for the same or not? Did you
update it recently and checked?


Reply to this email directly or view it on GitHubhttps://github.com//issues/117#issuecomment-24318340
.

@hemangshah
Copy link

Are you sure it will solve this issue?

On Thursday, 12 September 2013, lhmgrassi wrote:

A made a couple of changes. Basically you need:

1 - add yajl json parser to your project
2 - change TWITTER_DOMAIN to @"api.twitter.com/1.1"
3 - change YAJL_AVAILABLE 0 to YAJL_AVAILABLE 1

If there's anything you need, don't hesitate to ask.

best regards,

Grassi

On Thu, Sep 12, 2013 at 10:24 AM, Hemang Shah <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>>wrote:

The current library, I am using now showing the error like, `Domain=HTTP
Code=410 "The operation couldn't be completed. (HTTP error 410.)" so I
searched for that, and found that twitter have been updated. I am not
sure,
about Twitter-OAuth-iPhone library to update for the same or not? Did
you
update it recently and checked?


Reply to this email directly or view it on GitHub<
https://github.com/bengottlieb/Twitter-OAuth-iPhone/issues/117#issuecomment-24318340>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/117#issuecomment-24325176
.

Sent from my iPhone

@hemangshah
Copy link

You can make better help by upload a sample and share it here with we all.

On Thursday, 12 September 2013, lhmgrassi wrote:

A made a couple of changes. Basically you need:

1 - add yajl json parser to your project
2 - change TWITTER_DOMAIN to @"api.twitter.com/1.1"
3 - change YAJL_AVAILABLE 0 to YAJL_AVAILABLE 1

If there's anything you need, don't hesitate to ask.

best regards,

Grassi

On Thu, Sep 12, 2013 at 10:24 AM, Hemang Shah <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>>wrote:

The current library, I am using now showing the error like, `Domain=HTTP
Code=410 "The operation couldn't be completed. (HTTP error 410.)" so I
searched for that, and found that twitter have been updated. I am not
sure,
about Twitter-OAuth-iPhone library to update for the same or not? Did
you
update it recently and checked?


Reply to this email directly or view it on GitHub<
https://github.com/bengottlieb/Twitter-OAuth-iPhone/issues/117#issuecomment-24318340>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/117#issuecomment-24325176
.

Sent from my iPhone

@lhmgrassi
Copy link

works like a charm.

//MGTwitterEngine.m
#define TWITTER_DOMAIN          @"api.twitter.com/1.1"
//MGTwitterEngineGlobalHeader.m
#define YAJL_AVAILABLE 1

and add yajl https://github.com/gabriel/yajl-objc

@hemangshah
Copy link

Thanks dude, I will check it soon.

On Thursday, 12 September 2013, lhmgrassi wrote:

works like a charm.

//MGTwitterEngine.m#define TWITTER_DOMAIN @"api.twitter.com/1.1"

//MGTwitterEngineGlobalHeader.m#define YAJL_AVAILABLE 1

and add yajl https://github.com/gabriel/yajl-objc


Reply to this email directly or view it on GitHubhttps://github.com//issues/117#issuecomment-24327646
.

Sent from my iPhone

@hemangshah
Copy link

@lhmgrassi , your solution done the trick, and its working but wait, it worked for only once, I mean I am able to tweet only once then getting this error,

0FC578F5-57A8-425E-8A7D-E0D5AD30903C failed with error: Error Domain=HTTP Code=401 "The operation couldn’t be completed. (HTTP error 401.)"

Any idea? Thanks for helping out at certain 👍 :)

@hemangshah
Copy link

@lhmgrassi, I found that it was due to text I am trying to tweet.

Don't know why, its not allowing, "Hello!" but allowing "Hello" (without quotes) :)

@ankushdhawan
Copy link

i get given below error msg .when i want to share my tweet using [_engine sendUpdate:tweetTextField.text]; i get response with error.

Request 77F203B0-5E07-431F-848E-3282BD72329A failed with error: Error Domain=HTTP Code=401 "The operation couldn’t be completed. (HTTP error 401.)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants