We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter info is not scraped anymore, after twitter.com site update
The text was updated successfully, but these errors were encountered:
@AndreiIgna I've managed to parse twitter meta with this init:
$preview = new Layered\PageMeta\UrlPreview([ 'HTTP_USER_AGENT' => 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', ]); $preview->loadUrl('https://twitter.com/ArcticMonkeys/status/1327247088485240832'); $info = $preview->getAll();
so the difference is in custom HTTP_USER_AGENT
Sorry, something went wrong.
Thanks @PVGrad, that's a clever solution.
I will add this in the project description, so it's easy to spot
This info is added in Readme now UrlPreview::getAll() and mentioned you for the tip, hope that's okay.
UrlPreview::getAll()
No branches or pull requests
Twitter info is not scraped anymore, after twitter.com site update
The text was updated successfully, but these errors were encountered: