I am using the FB API and intergrating FB so that i caqn post on the users walls when they accept it,
i have this code sao far from the fb site its working all ok but the users are allowed to enter there own message on the post box.
- (void)fbDidLogin {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
[defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
[defaults synchronize];
NSArray *permissions = [[NSArray alloc] initWithObjects:
@"user_likes",
@"read_stream",
nil];
[facebook authorize:permissions];
[permissions release];
[facebook dialog:@"feed" andDelegate:self];
}
I was wondering if i could have a preset message to appear in the box somthing like the code below.
[NSString stringWithFormat:@" My New High Score i%",highscore]
and locked so that they can not edit it.
I found out by using this it posts everything i need and allows the user to add there comment plus they cant edit there high score which is what i was looking for.