import requests

def get_user_profile(access_token):
    url = f"https://graph.instagram.com/me?fields=id,username,account_type&access_token={access_token}"
    response = requests.get(url)
    return response.json()

# Contoh penggunaan
access_token = 'IGAAbDRJqoXZAJBZAE9nSHJVZAWlZAVEpaQkdUb1hYc0pQbEp1SDUwT1dFZAVlBeHBmZAkVYbjBJRExoa3pPN3NyUkhraDdBVGs0WDlGV0EzRHVQZAlF3dVVHWVBvblEzeUY2QWRMMkZAhM2ZA4eTQxQ0E1S1ZAVNERwb1lYYXc1S0puZAERtQm5mSGJUVFMyN2ZA3'
profile_data = get_user_profile(access_token)
print(profile_data)
