I am Using CI 4 for my project and I need Facebook Login to get user data which I have done in fb-JS-sdk and after that I save data to DB and start session for that user so It looks like it’s directly loged in by facebook login, but that’s not point here, Now After Login with Facebook user will
Tag: facebook
Sharing link of a page
I am sharing link of an event from profile of user, the page of event is dynamic, When user click on share to Facebook, I get ID of event and store it to Session variable, and I am using this session …
Retrieving facebook user access token with socialite on laravel 5.4
I am trying to get user access token so I can send CURL request through Guzzle to Facebook’s Graph API to get user’s friends that are using the app. But I can’t seem to be able to obtain it. Here’s my controller: Answer A couple of things to note. First of all, the following part of your code won’t work
403 forbidden error while sending messages to facebook connector through Unification Engine API
I am using unification engine #unificationengine API to post message on facebook. I followed all the steps and created connections to use connectors. All the curl requests are working fine till send message. In every curl from create user, create connection, connection refresh I am getting {‘status’:200,’info’:’ok’} And now I want to use the connector to post message on facebook.
Can’t Get Response.email from facebook API v2.5 even email is green in App Reviews
Can’t Get Response.email from facebook API v2.5 even email is green in App Reviews. I used this basic FB.api(), even with SCOPE it doesn’t return EMAIL Answer mybad, nothing is wrong with the code, I just did a reset with the permissions on the app.
Graph returned an error: (#200) Permissions error
when I publish a post to my page, it’s working fine, but when I post to page through set page ID instead of “me”, the response as the following: Graph returned an error: (#200) Permissions error the …
Graph returned an error: Invalid appsecret_proof provided in the API argument
i am using facebook PHP sdk (v4) to fetch user information, after installing SDK, i add the code but when i run the page it gives me this error, i am copying the app secret correctly, what could be the reason for such error and how should i fix this ? Answer You may want to read this: https://developers.facebook.com/docs/graph-api/securing-requests appsecret_proof
Laravel Socialite: InvalidStateException
I’m using Laravel Socialite to add a Facebook connect button on a website. Sometimes, I’ve got this error on callback: exception ‘LaravelSocialiteTwoInvalidStateException’ in /example/vendor/…
Facebook Open Graph, required property ‘og:title’ of type ‘string’ was not provided
I have a Joomla-page (v3.2.4) where I put in some dynamic Open Graph tags with PHP, like this: The PHP, before the tag: And in my tag I have this: When I run the page through the Facebook Object Debugger, I get the following two errors: Object at URL ‘http://www.livakursertestsite.dk/kurser/babytegn-2’ of type ‘website’ is invalid because a required property ‘og:title’
Check if Facebook user is logged in to app with PHP SDK
I have an app using the Facebook Login API. I take the details of the user and store it in my own database and create my own user id for the user (I also store the facebook id). Next time the user visits my site, I want to automatically set the session, without having them reconnecting again. So I want