Ok does this retrieve the ID of the viewed FB page or of the FB user browsing ?There's API in CB Connect to also retrieve the ID from the cookie
I tried to use three elements :.. maybe one exists to make it Facebook canvas friendly?
Please Log in or Create an account to join the conversation.
It's of the logged in Facebook user.Ok does this retrieve the ID of the viewed FB page or of the FB user browsing ?
The "code" to be sent to Facebook for validation and return of an access_token. CB Connect has API for that too.What else can we retrieve from this cookie if I use the getCookie function ?
Simply put, you can't. It's JS based and JS doesn't communicate with PHP. CB Connect doesn't work in this manner either as it only returns the ID of the connected and logged in user, not just any viewing user.For now my only problem is to get the visited FB page ID or FB profile ID in order to insert this setting in the module.
No. The cookie only provides the ID and "code" for the logged in and connected user. Facebook does not set a cookie for simply viewing your page.Do you know if I could get this visited FB page/profile ID from the cookie ? or any other way ?
Please Log in or Create an account to join the conversation.
In this cookie can we have access to the user_likes for pages ?The cookie only provides the ID and "code" for the logged in and connected user.
You mean that if I try :CB Connect already prepares the JS library so you of course have full usage of it. CB Connect also offers an http request function (see class file) for handling PHP API usage.
Please Log in or Create an account to join the conversation.
No, the cookie only gives you the users id and their code to exchange for an access token to make https calls on the users behalf.In this cookie can we have access to the user_likes for pages ?
I've created the below bug ticket to investigate. Possible there's a bug in the field mapping.I tested but it did not work, FB asked for authorization but nothing was imported in the field (standard text).
No, field mapping happens at first time registration and never again.Moreover is it possible with CBconnect to have an automatic import of some FB fields each time that the user connects to FB ?
No, my API is no where near like the above. Please examine the class file closely.I would get all that I need ?
Please Log in or Create an account to join the conversation.