Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Facebook php-graph-sdk v5 #1086

Closed
sushantlp opened this issue Nov 21, 2018 · 2 comments
Closed

Facebook php-graph-sdk v5 #1086

sushantlp opened this issue Nov 21, 2018 · 2 comments

Comments

@sushantlp
Copy link

sushantlp commented Nov 21, 2018

I use the following code to get facebook pages data.

$fb->get('/'.$pageId.'/posts?fields=attachments,likes,comments,message,created_time',$accessToken);

This code worked just fine until now, but from couple of days it has started giving an exception saying

Undefined Offset 1

I am currently using facebook sdk v5.6, facebook graph v3.2, PHP v7.0.

@fbourigault
Copy link

Have you tried sdk 5.7? Your error is probably the one fixed in #1079.

@sushantlp
Copy link
Author

Thanks its working

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants