facebook-php-sdk Questions

6

I have a laravel project that uses facebook login. But after a few days of testing, when I go to the route, it says Sorry, something went wrong.. I did not touch or modified my code and as well as ...
Linstock asked 18/8, 2020 at 6:8

7

I have the following code: $fb = new Facebook([ 'app_id' => $appId, 'app_secret' => $appSecret, 'default_graph_version' => 'v2.9', ]); $oAuth2Client = $fb->getOAuth2Client(); $toke...
Sane asked 2/5, 2017 at 12:17

2

I'm using Facebooks Graph Api 3.2 (newest). I have a valid token and run "/me/accounts" via Graph-Explorer. There listed 41 of my pages. But I manage 43 pages. 2 are missing. For these missing 2, I...
Ornithomancy asked 20/11, 2018 at 10:50

19

Solved

I'm trying to install Facebook PHP SDK with Composer. This is what I get $ composer install Loading composer repositories with package information Installing dependencies (including require-dev) Y...
Gelb asked 12/10, 2013 at 14:31

6

Solved

After the facebook have updated the Graph API and it's request I am facing this error Unsupported get request. Object with ID '203618703567212' does not exist, cannot be loaded due to missing pe...
Hintz asked 10/5, 2018 at 6:25

3

Solved

"message":"OAuthException: (#200) Insufficient permission to post to target on behalf of the viewer","trace":"[]","code":0 This message started to appear randomly after the recent Facebook mainten...
Quern asked 23/10, 2013 at 7:52

8

Solved

I recently upgraded to the latest version of the facebook SDK and I'm having issues logging users in. I generate the login link just fine, but when facebook sends the user back to my site with the ...
Maun asked 21/6, 2017 at 19:12

3

Solved

I was using facebook php sdk without any problem to provide facebook login on my website. Since a few days, I'm unable to log in anymore. I follow the steps described on https://developers.facebook...

3

Solved

I'm trying post an a message with one image via facebook graph API, and I can't. In new documentation https://developers.facebook.com/docs/graph-api/reference/v2.1/user/feed there is no field for a...
Jonajonah asked 30/8, 2014 at 6:56

11

Solved

I'm using the most recent version of the Facebook SDK (which lets to connect to something called the 'graph API' though I'm not sure). I've adapted Facebook's example code to let me connect to Face...

0

I have an artist page on my website and I am fetching particular artist feed from facebook widget. But I have recently updated jQuery minified version to the latest and it stopped working. This pro...
Sebiferous asked 7/6, 2021 at 7:26

3

I'm getting the following error message Facebook SDK returned an error: No URL set! Fatal error: Uncaught exception 'Facebook\Exceptions\FacebookSDKException' with message 'No URL set!' in...
Gaudreau asked 23/3, 2016 at 7:46

0

I am trying to post to my group by a business app type facebook but getting below error: Fatal error: Uncaught Facebook\Exceptions\FacebookAuthorizationException: (#200) If posting to a group, req...

2

Solved

I am using the the Facebook Marketing API to upload offline conversions. The attached code was working until about 2 weeks ago and now reports the following error. {"error":{"message":"(#100) The...

4

Solved

Currently, if I have a facebook friend whom I've tagged in a picture that I've uploaded, when I upload a picture with his face on it, facebook automatically suggests his user as a tag. Is it possi...

3

I am developing an app that syncs with users Facebook account and fetches Facebook page information. Initially, app asks for Login with Facebook and gets page list. After getting pages I am calling...
Metage asked 15/11, 2019 at 11:24

3

Solved

This is my login script: <?php // session não são nativas, precisa iniciar. session_start(); date_default_timezone_set('America/Sao_Paulo'); require_once '/home/mywebsite/lab/vendor/autoload.ph...
Lomalomas asked 12/10, 2015 at 21:6

23

I did a very simple PHP script, just to try to login via Facebook and get an accessToken. But when I try the following code, I get an Exception from the SDK : « Cross-site request forgery validatio...
Gratification asked 20/7, 2015 at 15:33

1

I have a Facebook app to publish content to my Facebook page automatically from a website. This app needs manage_pages & publish_pages permissions. Facebook asks apps to be reviewed in order to...
Dichotomy asked 23/7, 2018 at 12:52

2

Solved

So I was working with this script to loop through the events from a given page. Suddenly I find it doesn't work anymore :( I have a feeling it could be a bug, because if you pick any page, view ev...
Bewilderment asked 6/3, 2012 at 0:27

2

Some of my PHPUnit tests call the Facebook "php-business-sdk" so that I can be confident that Facebook's API is continuing to operate as I expect. E.g. getInsights() within FacebookAds\Object\Ad. ...
Busse asked 12/7, 2019 at 14:26

5

Solved

Now I posting a single photo to wall like this: $response = $facebook->api("/$group_id/photos", "POST", array( 'access_token=' => $access_token, 'message' => 'This is...
Bakki asked 11/4, 2014 at 14:37

2

Firstly, to explain the situation: my app has been approved by App Review for user_events (screenshot below) i am testing on the production app, with a real user account (testing with admin user ...
Transmittance asked 1/5, 2019 at 8:22

2

I want to access the public post of the public page in php script. Is there any feasibility to get this data from facebook pages. I have checked the documentation and found out as below url. https...
Duplicate asked 15/3, 2019 at 5:37

2

I'm creating a dashboard for myself that helps me keep track of the Facebook ads I'm running. What I've not been able to figure out is: How can I retrieve an array of ad IDs for all ads that are ...

© 2022 - 2025 — McMap. All rights reserved.