68 comments found.
Hello, I purchased your plugin. You plug-in doesn’t works with Facebook api version 13. Do you have an update with this api version ? Thank you.
I don’t see any problems with API 13.0, what is going wrong on you’re site ? Also the demo works with the latest version
Is it possible to make a feed of pages that are not owned by you on Facebook?
We are an association that has a multitude of associated companies and we would like to show what they publish on Facebook (only public info)
That’s not possible
Hi. I’m interested in buying. Do you have a tutorial for how I should create an app or which permissions I need? I created an app and got the manage_page permission but your script still says I need that one or the ‘Page Public Content Access’ feature or the ‘Page Public Metadata Access’ feature. Please advice
You cannot get the public content permission anymore, you can only retrieve pages if you are admin of that page, or use my tool to get a page token for a client. The client has to an admin and uses my tool to get the pagetoken , with that pagetoken you can get the posts from the client
I’m the owner of the page and app with the manage_page permission and still got the error message, that’s why I want to know what permission. I need since your description mentions I can use my own app. So this is no longer an option?
Then you’re app is wrong. Way to complicated to help you with that . You can use a pagetoken generated with my app, or indeed use you’re own app if you know how to set it up
Lmao. Obviously I was asking for a tutorial from you in order to setup my own app without having to generate tokens from third party apps. Not helpful at all
seem photo from facebook are not showing
Sorry ? Probably a js error . I don’t see any problems https://www.template-responsive.nl/facebook-demo/
ok maybe its me but i dont see any pics in that page and on my site it just says photos from my post
Url ? Like I described, probably a js error, check youre consol in chome or ff
it must be in mozzila as it workes in ie http://paradisebuilders.org/
Yup. js errors
widget.php?pid=ChIJW6qhNzCs0IkRBsjftUaK8qE:4552 Uncaught TypeError: Cannot read property ‘length’ of null at Object.success (widget.php?pid=ChIJW6qhNzCs0IkRBsjftUaK8qE:4552) at u (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at k (jquery.min.js:2) at XMLHttpRequest.<anonymous> (jquery.min.js:2)
and you forgot the css
<!- needed CSS ->
<link rel=”stylesheet” href=”facebook/css/timeline.css”>
<!- END needed CSS ->
Hi) Great script !!! Please add news output to rss https://prnt.sc/rezb48 It is important to export other social networks! Thanks!)
The output should be all publications on this page in one rss feed
Sorry, something russian ?? I cannot read that
Hi) Great script !!! Please add news output to rss https://prnt.sc/rezb48 It is important to export other social networks! Thanks!) The output should be all publications on this page in one rss feed
I want to install rss converter in your script https://prnt.sc/rf48pd
I understand what you want, however I won’t add this to this script. Ofcourse you are free to add it for yourself
Hi! Thanks for great class!
Is it possible to show public facebook pages without admin account associated with the page? The reason why I ask is that we use this to display our custumers facebook feed on their displays. Before we just used our token, but now we cannot do this anymore. It’s strange because the iFrame API doesn’t require any permissions, and it’s the same data we want. Thanks!
Sorry that ’s is not possible. What you do is sent your’re customer you’re license key and the link to my generator https://www.cfconsultancy.nl/loginfb/ and ask if the sent you the permanent facebook token (only expires if facebook found a hack or the customer changes there facebook password ) so you can add that. And use my latest version
Demo not working?
Looks like a bug with the facebook API, is working again now
I am getting the below message on my FB Developers page and your script has stopped working. Any Suggestion, or work around planned?
Pasted notice from FB below this line—-
“As of September 4, 2019, will not have access to the following permissions or features:
Page Public Content Access
If your app still needs access to these permissions or features, you’ll need to request them through the App Review process. If you don’t need access, no further action is required.”
Update to the latest version and use an accestoken as described on the item details, https://www.cfconsultancy.nl/loginfb/
I understand that I will need to be the Admin of the Facebook page to use this access token method, is this correct?
yes indeed, or try to you get get Page Public Content Access permissions from facebook
I checked the API and looked at the favebook page, there is only one posts, the rest are shared posts and cannot be retrieved.
https://developers.facebook.com/tools/explorer/?method=GET&path=1652932344990035%3Ffields%3Did%2Cname%2Cposts.limit(10)&version=v3.2i made another post and it still dont show https://www.facebook.com/1652932344990035/photos/a.2282544905362106/2312898882326708/?type=3&theater
there now way to get all post on page even if they are shared
That’s the cache, empty the cache or set to 0. The shared posts are from users not business pages en for privacy reasons cannot be retrieved.
I am not a facebook developer
, and check the post here https://developers.facebook.com/tools/explorer/?method=GET&path=1652932344990035%3Ffields%3Did%2Cname%2Cposts.limit(10)&version=v3.2
i dont know alot about this either but if i go to https://graph.facebook.com/v3.1/1652932344990035?fields=name,picture,posts.limit(20){comments.limit(10).summary(true){like_count,message,created_time,from,comments.limit(10).summary(true){like_count,message,created_time,from}},name,object_id,description,message,type,link,caption,id,created_time,full_picture,source,picture,status_type,attachments,likes.limit(1).summary(true)}&access_token=EAAE55Yw3VAwBAMXi0sOzexcedJvaHESA0dAZBLKvCxhab5pPewZAbkt6G8xy5hLmiodR7mURTwuqGNH3XIWPNoGVytfgtCblppwnK4C674ZBNM6ix5nZCZBC0JgcSWlqXzZA1msGNFHnU58g17Xwpk4bhJr2zJEtP9ZBWl9hhWuq89sgBWh8bThV0PK0u6qsRn6U313B2axagZDZD i see both post but cant see them on my website clear cache and even tried another computer still nothing thanks for your help ill keep trying
Not youre browser cache but cache setting . Default its set to 6 hours, set to 0 for no cache time.
$tl->setCacheLife(21600); to $tl->setCacheLife(0); and you can set debug to true to see the link and the json output
hello I recently received the following error message. until then did the script always work well?
The user 112098702182549 does not exists !
Fatal error: Uncaught exception Exception with message JSON is empty thrown in templates/facebook/facebook/lib/facebookTimeline.php on line 82
It’s a bug with the facebook API https://developers.facebook.com/bugs/503444290062222/
Quick fix is open wp-content\plugins\seofacebookfeed\packages\facebook\lib\facebookTimeline.php and on line 57 remove ‘story’ from the string
hello – thanks for the quick help! the wall works again but only partial posts are displayed?!?
I don’t know what you mean ?. New version can be downloaded and I don’t see any problems at the demo
can i send you the link with private message?
On my autors page you can sent me a private message
Yesterday jan 31 this was caused by a bug from the Facebook API, everyrthing seems to be resolved
Hello, I’ve bought your script yesterday but I run into a prob. When I upload the files and add my cred. like id and accesstoken, it works fine. However after a few houres it suddenly stops working and says the user doesn’t exist. example : http://www.bouw-je-eigen-website.be/facebook-class
When I test my user Id in the facebookgraph, everything is normal. Also my accesstoken is set to never expire.
When I upload all the files again and add the same cred., everything will work again for a few houres. Could you please help me?
set debug to true, and run the url, perhaps the user is so new and facebook has an hickup. Also for any help always place the url to the facebook page
En even gegoogled, https://www.facebook.com/portalocker.be/ dus de username is portalocker.be
Posted this earlier at your Wordpress product (sorry). I should have asked my question here. So here goes (sorry for the mess)
Hi ceasar,
Good to see Dutch developers here. So I guess I can translate your minutes / days / weeks / etc. Without issues to their Dutch relatives without problems right?
So for example;
1 dag geleden 2 dagen geleden 1 week geleden 2 weken gelden 1 maand geleden 2 maanden geleden 1 jaar geleden 2 jaren geleden
I am asking, because the other script I am using is mainly focused on US/English language. So it doesn’t work very well with Dutch dates.
Thank you in advance.
Regards
Just look here
the same class https://www.cfconsultancy.nl/facebook.html
# Language
$lang = new language();
$lang->setTitle('');
$lang->setShareOnTwitter('Delen op Twitter');
$lang->setShareOnLinkedIn('Delen op LinkedIn');
$lang->setShareOnGooglePlus('Delen op Google+');
$lang->shareOnFacebook = 'Delen op Facebook';
$lang->setComment('Geef commentaar of vind dit leuk !');
$lang->setShowComments('Zie het commentaar');
$lang->setBy('door');
$lang->setDatePrefix('');
$lang->setSecondsAgo(' seconden geleden');
$lang->setMinuteAgo(' minuut geleden');
$lang->setMinutesAgo(' minuten geleden');
$lang->setHourAgo(' uur geleden');
$lang->setHoursAgo(' uur geleden');
$lang->setDayAgo(' dag geleden');
$lang->setDaysAgo(' dagen geleden');
$lang->setWeekAgo(' week geleden');
$lang->setWeeksAgo(' weken geleden');
$tl->setLanguage($lang);
Thank you Ceasar!
Consider me a buyer (will buy your script in a few). I only wish I saw your script months ago, because it costed me almost 50 USD.
Oh well. Lesson learned!
Thanks.
Hi Ceasar,
As you have noticed, I purchased your script.
I do have a few issues/questions, which you can hopefully fix/answer.
Let me explain what I am doing; I am designing my GF website (beauty salon) and she wanted to have her FB on her newly designed website. So I have full access to her FB account as well.
I already have a (non expiriring) “Page Access Token”. And I also changed “facebookTimeline.php” (and placed the Page Access Token in there) as mentioned in the “README”-section here.
So far, I think I have done it correctly.
So now the only issues I am having are the following items:
- username or id (well this is not really an issue and explains itself) - facebook tokenId (no clue, where or how to get this) - facebook tokenSecret (same as above; no clue)
I did read the readme file, however it gives a link to a Youtube video which is not online anymore.
So can you kindly advice what I have to do next in order to display feeds from GF’s FB page?
...shouldn’t “Page Access Token” and “username / id” be enough? Maybe I am mistaken.
Thank you for your time in advance.
Regards
Nevermind. Figured it out.
If you are using “Page Access Token” only the username is sufficient. But….
...be sure to disable the following lines:
if(empty($tokenId)){
throw new \InvalidArgumentException('tokenId cannot be empty');
}
if(empty($tokenSecret)){
throw new \InvalidArgumentException('tokenSecret cannot be empty');
}
with // in front of them. Save and it will work.
You are absolutely right, but as described on the Item details,
Open facebookTimeline.php en find on line 54 &access_token=’.$this->tokenId.’|’.$this->tokenSecret and change to &access_token=here youre acces token’;
fill in your username and any token secret or id
I will update the package so it will be easyer to handle
Yes, as mentioned above and I quote: “And I also changed “facebookTimeline.php” (and placed the Page Access Token in there) as mentioned in the “README”-section here.”
But it was not clear that you had to fill in “any token” or “any secret id”. 
Fixed language issue (just make the changes in the main file).
Regards
New version can be downloaded and added an extra option to use an accestoken. So you don’t have to edit the class files.
Hi ceasar,
Maybe it’s an idea to add also “months” and “years” to the time frame as well in regards to posts.
Now I have some posts saying that it was posted 161 weeks ago. 
I think the most clean / professional look for this script would be:
(maybe some are already applied, but I cannot test this at the moment) 1. 0-60 minutes > XX minutes ago 2. 1-24 hours > XX hours ago 3. 1-7 days > X days ago 4. 1-4 weeks > X weeks ago 5. 1-12 months > XX months ago 6. For years I would simply use: more than a year ago or similar
As mentioned above, I am guessing everything before months is already in there (cannot test it), so it would be great if you could add months and years in your script, like shown above.
More than a year ago, looks better than 161 weeks ago imho. And 8 months ago looks better than 32 weeks ago as well.
Anyways, I hope this is possible. It would make your script even better. I even had a friend who was going to purchase your script as well.
Regards
And added it, will update the new version tonight 
Awesome! Many thanks. 
I forgot to rate your script; which I will do now straight away! * thumbs up *
thanks 
OK, I just can’t make it work. Your readme file is outdated, the developers.facebook.com doesn’t look like on the YT video any more and I only get “The user …... does not exists !”error. And no, I don’t need to send my app for review at least not according to their guidelines. Do you accept refund requests? I have to buy something that is simpler and not that complicated like your script.
I set debug to true and this is what I got from Chrome:
https://graph.facebook.com/v3.1/rektoracki?fields=name,picture,posts.limit(20){comments.limit(10).summary(true){like_count,message,created_time,from,comments.limit(10).summary(true){like_count,message,created_time,from}},name,object_id,description,message,type,link,caption,id,created_time,full_picture,source,picture,status_type,story,attachments,likes.limit(1).summary(true)}&access_token=110149979075197|f7e04784a82b305523ec5ab773365fefThe user rektoracki does not exists !
You need to be reviewed by facebook as stated on the Item Details tab (disclaimer), so no refund. You could have read the post here and the disclaimer.
Since it looks you are an programmer (you bought a php class) you can also use an page acces token (only if you are admin of that facebook page) To get an life long acces token https://sujipthapa.co/blog/generating-never-expiring-facebook-page-access-token en to add it to my class,
Open facebookTimeline.php en find on line 54 &access_token=’.$this->tokenId.’|’.$this->tokenSecret and change to
&access_token=’here youre acces token’
Unfortunately that creates HTTP ERROR 500. Please have a look at the code whether I do it right:
public function getItems(){ # URL $url = ‘https://graph.facebook.com/v3.1/'.$this->username.'?fields=name,picture,'.$this->newsType.'.limit('.$this->maxItems.'){' . ($this->showComments ? ‘comments.limit(’.$this->maxComments.’).summary(true){like_count,message,created_time,from,comments.limit(’.$this->maxComments.’).summary(true){like_count,message,created_time,from}},’ : ’’) . ‘name,object_id,description,message,type,link,caption,id,created_time,full_picture,source,picture,status_type,story,attachments,likes.limit(1).summary(true)}&access_token=’my code here’;
//Check if url is okay
if ($this->debug) {
print_r($url);
}
’my code here’; should contain youre page acces token not ‘my code here’
of course, I just didn’t want to publish it here. My code is there and that generates HTTP ERROR 500 when I try to access the page: https://www.rektoracki.pl/strona/aktualnosci.php
I can send you the entire code if you give me your email address.
remove the single quotes like &access_token=here youre acces token’; (sorry)
Still the same error.
Yes! I made it work, thank you! It should be like following:
&access_token=here your access token’
Can you please explain what’s recommended Cache life value?
What you want. I normally check for every 6 hours for optimum pagespeed. But one question, why schould I answer if you already gave me one star for support ??
That was before you answer my question, sorry for that. And I changed it to 5 stars already.
Thanks 
In my own cms I use it like this
if(isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true){
$tl->setCacheLife(0);
}else{
$tl->setCacheLife(21600);
}
So if the admin logs in set to 0 else to 6 hours
Hi, I have this setup on my local dev environment.
I have setup a test app on Facebook.
I have added in the page ID, tokenID and tokenSecret.
I get the error below for the page I am trying to read in. The user stephenpeytonmotors does not exists !
When I change it to my own personal ID the same happens
Test URL http://fb-hosting.com/adrian/test/facebook-class/ Any idea why this is happening?The Facebook graph explorer shows that I can access the page once I grant a token.
Does the app need to be approved by Facebook first? Or should it work in dev mode?
Thanks, Adrian.
set debug to true, copy and paste the link in chrome or ff and see what the json tells you, so many times discussed here. The app probally needs to be reviewed
By the below I would reckon that the app needs to be reviewed by Facebook?
{ “error”: { “message”: “(#10) To use ‘Page Public Content Access’, your use of this endpoint must be reviewed and approved by Facebook. To submit this ‘Page Public Content Access’ feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.", “type”: “OAuthException”, “code”: 10, “fbtrace_id”: “EXWvwJJKSzs” } }
That’s what I wrote
Set debug to true, and copy and paste the url in chrome and look at the json answer
It display: “error”: { “message”: “(#10) To use ‘Page Public Content Access’, your use of this endpoint must be reviewed and approved by Facebook. To submit this ‘Page Public Content Access’ feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.",
So, shoud i need the enable ‘Page Public Content Access’?
Yes, youre app needs to be reviewed or use an older app before may 1 2018
Hi, any guide to show how to set my app as reviewed? Many Thanks
I can not make it work.. allways getting “The user [whateverIdItryToUse] does not exists !”
Please, why not give any info about what you are doing ?? Facebook link, set debug to true, copy en paste the link in chrome and look what the json tells you
thanks, tried everything..confused by id / tokenId / tokenSecret – the terminology used by facebook is different, so not sure what is what a what steps should I take to set it up correctly and than eventualy make it work..also seems like facebook might be requesting the app for review..easier might be to use https://connect.facebook.net/en_US/sdk.js and ... which is very limited and requires manual entering of posts links, but works without the id/token/secret/review/etc hassle.. just need to show public posts from fb, should be easy..thought that your scripts make it even easier, but it does not look like that unfortunatelly..
Hello, there is this error showing up: username does not exist. I used both the name and the page ID, but it does not work. I also tested it with the Graphexplorer and the page is existing and working. I am also using an App ID with App Secret. Whats the problem with it?
Show me the url on facebook. I cannot tell anything without any info
It just works with the ID http://www.template-responsive.nl/wpdemos/niecon/
[facebook_timeline_feed username=”202069473192271”]
Watch here please: http://slm.niemann-consulting.de/aktuelles.php/
Then set $tl->setDebug(false); to true, copy and paste the url in chrome and see the json output
I set it. Do you have an idea? Thanks for the great support and the fast response!
The outputed json will tell the error
No its not telling the error.
{
"error": {
"message": "(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.",
"type": "OAuthException",
"code": 10,
"fbtrace_id": "B7TrELutqGQ"
}
}
So your app needs to be reviewed by facebook before you can use it
Since I don’t know what facebook is doing best thing is to google for ‘To use ‘Page Public Content Access’, your use of this endpoint must be reviewed and approved by Facebook’
Hm, my JSON Output is not looking like this. But now I know what to do! Thank you very much!
Hi, I’m interested in the product. This PHP script works for use in different domains?
Sure, but for every domain one license
With the newest API updates there was the introduction of the “message me” button. Now, any FB posts with that enabled are not pulling into my Facebook wall. Is there a fix for this?
Also, all of the “events” that get pulled in have super tiny 50×50 images that get stretched and appear stretched. Is there a fix for this?
Been a happy user of this script for the last year and hoping there is a fix for these two issues.
Sorry, I really don’t know what you mean by these updates grom fb
Sorry for the unclear description.
Wall is installed here: https://afrcc.com/specials-northcarolina.php
If you look at the page that it’s pulled from (https://www.facebook.com/AFRCCDurham/) all the posts with a “Send Message” button under the photo do not show up on the Wall. If you turn that feature off on the Facebook post then it re-appears on the Wall.
That’s not my php class, don’t know which one 
Caesar, sorry for the confusion. I did switch it over to your script (below url).
I am running into the same issue with your script. I used the Graph API Explorer and when I run the ?fields=posts.limit(10) test I do see all of missing posts. For some reason they are not making it to the actual site.
https://afrcc.com/test3/Probally a bug from facebook. If I use https://graph.facebook.com/v2.10/AFRCCDurham?fields=name,picture,posts.limit(20) and &access_token then I won’t retrieve them.
You can report a bug here https://developers.facebook.com/bugs/
Caesar, I’m working with Facebook on this bug.
I’m trying to locate the exact contents of the HTTP request sent to the Graph API. Do you know where I would find that? They are not looking for php code from facebookTimeline.php, but instead want the actual http request.