As i understand from your question there are 2 different problems here.
First, you want to use your account to post to a testUser wall. Try this:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"somekey", @"someobject" nil];
[FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"%@/feed", testUserFbId] // here you set in whose post you wanna do the action, in this case it is yourself
parameters:params
HTTPMethod:@"POST"
completionHandler:^(FBRequestConnection *connection,
id result,
NSError *error) { /* Your code here */ }
Second, you can't login to your app using testUser account. This is a broader problem, and could have many causes.
- Check your .plist file to see if the is any error on fbId or any of the configurations for facebook.
- Check on facebook if your application is configured correctly.
- Remember that if your application is in sandbox mode only users allowed can see posts.
- Also, can you log in with your own user?
Let me know if i am on the right path here.