If u can do that then it would violate the use of facebook platform right?

|
Hazar_Orabi 2021-08-06 16:50:55
laravel_discuss-90700.jpg

Hazar_Orabi 2021-08-06 16:52:25
Hazar_Orabi 2021-08-06 16:50:55

What should i do?

Relaxed Guy 2021-08-06 16:53:46
Guys ..
Am trying to print a pdf …
Relaxed Guy 2021-08-06 16:54:08
With laravel .. but it doesnt load the css in pdf how do I handle this
Sujata Kalita 2021-08-06 18:37:27
Relaxed Guy 2021-08-06 16:54:08
With laravel .. but it doesnt load the css in pdf how do I handle this

Using dompdf package or what?

Jomitz 2021-08-06 18:43:26
Relaxed Guy 2021-08-06 16:54:08
With laravel .. but it doesnt load the css in pdf how do I handle this

Use browsershot package for better css and styles in pdf

souloo7 2021-08-06 18:43:38
Problem 1
– laravel/framework[v8.40.0, …, 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, …, 1.x-dev].
– league/flysystem[1.1.0, …, 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP’s fileinfo extension.
– Root composer.json requires laravel/framework ^8.40 -> satisfiable by laravel/framework[v8.40.0, …, 8.x-dev].
souloo7 2021-08-06 18:43:48
Solution ?
Jomitz 2021-08-06 18:44:30
souloo7 2021-08-06 18:43:38
Problem 1
– laravel/framework[v8.40.0, …, 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, …, 1.x-dev].
– league/flysystem[1.1.0, …, 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP’s fileinfo extension.
– Root composer.json requires laravel/framework ^8.40 -> satisfiable by laravel/framework[v8.40.0, …, 8.x-dev].

Eneble fileinfo extention in pho.ini file search in google

2021-08-06 18:44:40
How to display my Facebook page feeds in my website using laravel?
Jomitz 2021-08-06 18:44:41
Jomitz 2021-08-06 18:44:30
Eneble fileinfo extention in pho.ini file search in google

Php.ini

Sujata Kalita 2021-08-06 18:45:09
Jomitz 2021-08-06 18:43:26
Use browsershot package for better css and styles in pdf

I prefer use js for pdf generate.

Jomitz 2021-08-06 18:45:10
2021-08-06 18:44:40
How to display my Facebook page feeds in my website using laravel?

I think you cant do that

2021-08-06 18:45:54
Jomitz 2021-08-06 18:45:10
I think you cant do that

🙄no way to implement that?

Jomitz 2021-08-06 18:46:21
Sujata Kalita 2021-08-06 18:45:09
I prefer use js for pdf generate.

This uses the js to generate pdf

Jomitz 2021-08-06 18:46:36
Jomitz 2021-08-06 18:46:21
This uses the js to generate pdf

Its just more convenient for handling

Jomitz 2021-08-06 18:47:29
2021-08-06 18:45:54
🙄no way to implement that?

I dont think so bro you cab get only so much with the facebook api..if u can do that then it would violate the use of facebook platform right?

souloo7 2021-08-06 18:47:48
Jomitz 2021-08-06 18:44:30
Eneble fileinfo extention in pho.ini file search in google

its already enable without ;

Jomitz 2021-08-06 18:48:25
Cab you peovide a screenshot
2021-08-06 18:48:42
Jomitz 2021-08-06 18:47:29
I dont think so bro you cab get only so much with the facebook api..if u can do that then it would violate the use of facebook platform right?

Ok, let me refer that. Thanks for the info

souloo7 2021-08-06 18:50:23
laravel_discuss-90727.jpg

Jomitz 2021-08-06 18:51:09
Does this file exists in the curent version of php that u are using
Jomitz 2021-08-06 18:51:26
souloo7 2021-08-06 18:50:23

Also u need to restart the apache

souloo7 2021-08-06 18:51:50
Jomitz 2021-08-06 18:51:09
Does this file exists in the curent version of php that u are using

current

Jomitz 2021-08-06 18:52:24
souloo7 2021-08-06 18:51:50
current

Yes do you have multiple php versiins

souloo7 2021-08-06 18:52:59
Jomitz 2021-08-06 18:52:24
Yes do you have multiple php versiins

yes

souloo7 2021-08-06 18:53:23
can remove a old php folder
souloo7 2021-08-06 19:00:12
laravel_discuss-90734.jpg
when i save as i get this error
Relaxed Guy 2021-08-06 19:24:54
Sujata Kalita 2021-08-06 18:45:09
I prefer use js for pdf generate.

Dompdf

Relaxed Guy 2021-08-06 19:26:41
Is not working..it prints…without css that’s with even … tcpdf they are going the same I have not tried browser shot before … I wanted to use snappy am having errors with wkthml m just confused I have used evry package its printing without css n the charts it just prints the code for charts am using cdn for echarts to load these charts
Relaxed Guy 2021-08-06 19:28:36
My logic is printing a report with echarts on it plus values from an endpoint then outpouting a pdf and sending it as .. report thru use of email
Jomitz 2021-08-06 19:57:20
Relaxed Guy 2021-08-06 19:26:41
Is not working..it prints…without css that’s with even … tcpdf they are going the same I have not tried browser shot before … I wanted to use snappy am having errors with wkthml m just confused I have used evry package its printing without css n the charts it just prints the code for charts am using cdn for echarts to load these charts

Snappy does not have much dependencies

Jomitz 2021-08-06 19:57:41
Jomitz 2021-08-06 19:57:20
Snappy does not have much dependencies

And i think they have dropped the support for it not sure though

Jomitz 2021-08-06 19:57:54
Jomitz 2021-08-06 19:57:41
And i think they have dropped the support for it not sure though

Try browsershot

Jomitz 2021-08-06 19:59:06
souloo7 2021-08-06 19:00:12
when i save as i get this error

Dont have to remove you just need to point the php environmental varible to the currnt version folder in the system

|