Skip to content

Instantly share code, notes, and snippets.

@micheleberardi
Last active September 9, 2019 23:01
Show Gist options
  • Save micheleberardi/e9abcc861576c132cc73e25453cc4772 to your computer and use it in GitHub Desktop.
Save micheleberardi/e9abcc861576c132cc73e25453cc4772 to your computer and use it in GitHub Desktop.
page_id_token
page_id = '102927594431953'
page_token = None
for item in pages_data['data']:
if item['id'] == page_id':
page_token = item['access_token']
print(page_token)
"""
OUTPUT PARAGRAFO[4]:
'EAAHR3c1UymABANbZCQgHZCZC5QjgPS3aaBzPxK6raW4PIJIjhYAZC5WxqRZAN9vxOy4UKi7Ykkax2SM9W7GbzDafg84auYQjRad65C364JyLZBXfyd9aRLuftjrYmU7DyPVbZCZA8GIZBOzkcjML33M90pek8gCsKcTZCDVhYn51AaIAZDZD'
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment