How to unlink an apple ID from an IPhone?

I just bought an iphone from my friends that has been factory reseted, but somehow the phone is still linked to another account. Is there anyway i can log out from my computer?

They have to enter their password, then that officially wipes it, then you setup your own. Its a security feature.

No, your friend will need to log that phone out of any other accounts it was logged into on their end, there's NOTHING that you can do, other than have them allow you to log into their account to log out that phone, and I'm sure no one is going to allow you to log into their account(s).

For that you need to visit the nearest Apple Store and you must also have one app in order to get utmost security in your device. And that is Leo Privacy Guard, It offers you various security functions, so as to keep your device absolutely secure.

  • Which Smartphone is Better, Apple iPhone 5 or Apple iPhone 4S? And also please give me the details about Camera, Gaming, Watching Videos, Features, Reliability of both smartphones
  • How to unlink two apple account? I just downloaded ios 7 on my iphone 4s, and since my mom and i share the same apple account, i have all of her contacts on my phone but no pictures and occasionally i will receive a text my dad sent to her. How do i unhook her from my phone? Do i have to do a complete reset? If so if i fully reset it, will it delete her stuff as well?
  • How to unlink my Outlook account and my Gmail account? A while back, I linked these accounts together somehow (it's been so long I forgot how) so I would only have to access one account to read all my email, but now when I get an email in my Gmail account, I get that exact same email in my Outlook account a few minutes later, and I keep getting notification noises on my iPhone and have to spend time deleting the extra emails. It's really annoying me and I want to undo it, but I don't know how!
  • How to unlink my iPhone from an Apple ID? I just purchased the iPhone 5. I chose to reboot from an apple ID-- but apparently my genius ex linked a bunch of different apple id's to the old phone, so now the new phone is linked to those as well. Every time I click on settings I'm asked to enter a bunch of passwords for accounts I didn't even know existed. So my question is: Is there anyway to disassociate my phone with those old accounts?