Of course, that warning is from the Facebook app. The above comment is correct that there is no fine-grained security in iOS for user data (except location info). If Apple approves an app and you install it, you are trusting it will much of the data on your phone.