Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Outside of Joomla, you can't. You'd need to use strictly PHP (no Joomla API) and perform a DB query.- how to access the function from a blank page (I am really not a programmer !) ?
In PHP, you can't. Not without Facebook settings the cookie, validating it, and parsing it for the users id. I've no idea if canvas pages supply this. I know you could get it through JS, but getting it from JS to PHP is the painful part as there's no secure way to do it without the signed cookie from Facebook. CB Connect for example utilizes said cookie, which is set upon login. There's API in CB Connect to also retrieve the ID from the cookie (see cbconnect.class.php).- how to retrieve a Facebook page id from a Facebook user id ? if this is possible ?
(can CBconnect extend permissions to get pages id and store it somewhere ?)
Please Log in or Create an account to join the conversation.