How to fetch Open Graph metadata in #laravel
▻https://hackernoon.com/how-to-fetch-open-graph-metadata-in-laravel-2d5d674904d7?source=rss----3
How to Fetch Open Graph Data in LaravelBefore we begin, let’s first talk about Open Graph protocol.▻http://ogp.me/What is Open Graph protocol?The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook. You can read more about it here.Great!!! So how to use it?Let’s say you want something like if a user post message with a link on it. The script will get the URL then get data of it. Its like when you post on facebook. When you paste a link to make a post facebook gets the data feeds of that URL. Something like this.facebook feed postNow let’s start with how to fetch the Open Graph data of a URL in Laravel.Install the OpenGraph package for (...)
#fetch-open-graph-data #laravel-5 #open-graph-data #open-graph