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

problem with Getting all followers information #58

Open
sweetie85 opened this issue Oct 12, 2010 · 11 comments
Open

problem with Getting all followers information #58

sweetie85 opened this issue Oct 12, 2010 · 11 comments

Comments

@sweetie85
Copy link

Hi,

I am using MGTwitterengine code to pull friends and followers using teh following code:

[_twitterengine getFollowersIncludingCurrentStatus:YES];

When I use this method to pull followers the method is pulling only 100 followers where as I have 800 followers.

How do I get all followers information in a tableview.

Any help is appreciated.

Thanks.

@amitbattan
Copy link

Hi swethapraveen

I have issue in the follower list
#88

I am using same getFollowersIncludingCurrentStatus function .. it was working ok but now not.. its now giving Error 403
please check issue #88
and help me if you can

@amitbattan
Copy link

my issue is solve .. but if it is like that as you say When I use this method to pull followers the method is pulling only 100 followers where as I have 800 followers. then also I have issue as I want to list of all my friends

@sweetie85
Copy link
Author

Hi Amit,

Can you please tell me how did you solve the 403 error.

Thanks,
Swetha.

On Wed, Jun 15, 2011 at 5:08 PM, amitbattan <
reply@reply.github.com>wrote:

my issue is solve .. but if it is like that as you say When I use this
method to pull followers the method is pulling only 100 followers where as I
have 800 followers.
then also I have issue as I want to list of all my
friends

Reply to this email directly or view it on GitHub:

#58 (comment)

@amitbattan
Copy link

it is solved now
I change
#define TWITTER_DOMAIN @"twitter.com"
to
#define TWITTER_DOMAIN @"api.twitter.com/1"
in MGTwitterEngine.m

@sweetie85
Copy link
Author

Thanks Amitbattan.

@amitbattan
Copy link

Praveen have you found solution of your issue

@sweetie85
Copy link
Author

No Amitbattan. I am still trying to find it.

@amitbattan
Copy link

Well .. if you got then please also post here...
and somewhere in a discussion I found that it is due to that this API which we are in getFollowersIncludingCurrentStatus is statuses/followers and it return the list of user with there status who recently updates there status .. may be this is due to this..

or there is some other API for our use

@sweetie85
Copy link
Author

Hi Amitbattan,

I have the following issue with updating profile pic. I am using the following code to update profile pic:

  • (NSString *)setBackgroundimage:(NSString *)imageurl{

    if (!imageurl) {
    return nil;
    }

    NSString *path = [NSString stringWithFormat:@"account/update_profile_image.%@", API_FORMAT];

    imageurl = [imageurl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    NSString *trimmedLocation = imageurl;

    NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity:0];
    [params setObject:trimmedLocation forKey:@"profile_image_url"];
    NSString *body = [self _queryStringWithBase:nil parameters:params prefixed:NO];

    return [self _sendRequestWithMethod:HTTP_POST_METHOD path:path
    queryParameters:params body:body
    requestType:MGTwitterAccountLocationRequest
    responseType:MGTwitterUser];
    }

where url is the url to the image. When I ma trying to use the above code to update profile pic. I get the following error:
Error Message:Request 6397A72F-BF61-42B7-8B50-BA7F62CBFEC4 failed with error: Error Domain=HTTP Code=500

Any help is appreciated.

Thanks.

@sweetie85
Copy link
Author

Hey thanks for the quick reply. I have a question regarding CLLocationManager. I am in Hyderabad right now.
Though its not related to this issue. Do you know why the CLLocationManager is not working in India.

Thanks.

@amitbattan
Copy link

CLLocationManager not work in Simulator

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

2 participants