Last active
August 29, 2015 14:07
-
-
Save Nathan-Srivi/2b7cbc2f5a2143bc7e41 to your computer and use it in GitHub Desktop.
my config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return array( | |
'app_id' => '<my app id>', | |
'app_secret' => '<secret key>', | |
'access_token' => '149LIvZChokbuhabGRrKGlcJromc1QptEjrMch3wGuE8ae4RiuzMj9Mp8aZBWn09HelyVZB5ItsQZCiOwvoXJIivUWjhgn5uZA9Ld7WadAhEahoXK1MVosbDuS1iSG4uLE215jynfs7iMGnTV2USEhx8OWSc4ZD', | |
// i got this key from graph api explorer | |
'act_id' => '524189191044409', //got act id also from graph api explorer | |
'act_timezone' => '', | |
'page_id' => '', | |
); | |
I have got the account id from graph api explorer and i have listed the steps below to get account id from graph api explorer. | |
So, please make sure is this correct procedure. | |
step - 1 ==> me/adaccounts (i have searched it from me/adaccounts from graph api explorer, while executing this i got the output below: | |
{ | |
"data": [ | |
{ | |
"account_id": "334935110015589", | |
"id": "act_334935110015589" | |
}, | |
{ | |
"account_id": "524189191044409", | |
"id": "act_524189191044409" | |
} | |
], | |
"paging": { | |
"cursors": { | |
"after": "NjAxNjM3NjcyMDE5MA==", | |
"before": "NjAxNDgxOTU2NDQyOQ==" | |
} | |
} | |
} | |
I have used these act_id in my config.php file. please confirm it, is this procedure is correct which i have followed above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment