Unable to get facebook videos meta data on live server

131 Views Asked by At

So I've been using this package for extracting meta-data of various web URLs. I've been able to extract metadata successfully for every site except Facebook. Some of the Facebook URLs are returning Login page metadata when scraped. For an instance, I'm able to get all the information such as secure_url, thumbnails, cover-images, URLs of this link but when I go for this Link. It just returns the metadata of a login page.

Also, I've been able to parse all the Facebook-related URLs on local successfully, but when it comes to live server, packages return facebook login metadata and not of the actual page.

Below are my questions

  1. Is there any other PHP composer packages that can extract/parse/scrape information of Facebook URLs?
  2. Do I need to do anything extra when it comes to live server?
  3. Is there anything I'm doing wrong
  4. Do you have any other better way of scraping/parsing/extracting Facebook-related URLs?
0

There are 0 best solutions below