Location prediction in social media based on tie strength