[FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"%@/feed",fid] parameters:params HTTPMethod:@"POST"
                                   completionHandler:^(FBRequestConnection *connection, id result, NSError *error1)
              {
                  //Tell the user that it worked.
                  NSLog(@"errors in the view %@",error1);
                  
                  if(fid != nil && fid.length> 0 && !error1)
                  {
                      
                      
                      UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Success"
                                                                          message:[NSString stringWithFormat:@"Music Sucessfully sent to %@ ",fbUserName]
                                                                         delegate:self
                                                                cancelButtonTitle:@"OK"
                                                                otherButtonTitles:nil];
                      
                      [self dismissModalViewControllerAnimated:YES ];
                      alertView.tag=122;
                      
                      // NSLog(@"error %@",error);
                      [alertView show];
                      
                  }