chandaboy 0 Newbie Poster

I m making an app where i need to get facebook friend status, i can get the statuses when doing this coding..

Code:

NSMutableDictionary * params = [[NSMutableDictionary alloc] init];
    [params setValue:@"100000********" forKey:@"uid"];
    [params setValue:@"1500" forKey:@"limit"];
    [params setValue:@"results" forKey:@"callback"];

but when im using a dynamic value like this :

Code:

[params setValue:[NSString stringWithFormat:@"%@", a] forKey:@"uid"];

im getting this error

The operation couldn’t be completed. (facebookErrDomain error 10000.)

looking forward for your help guys....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.