You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP library to get info and embed any web page (using oembed, opengraph, twitter-cards, etc). It's compatible with any web service (youtube, vimeo, flickr, instagram, etc).
$info->providerName; //The provider name of the page (youtube, twitter, instagram, etc)
46
+
$info->providerUrl; //The provider url
47
+
$info->providerIcons; //All provider icons found in the page
48
+
$info->providerIcon; //The icon choosen as main icon
49
49
```
50
50
51
51
Available options
@@ -59,7 +59,7 @@ Available options
59
59
* soundcloudClientId (string): Used to get info of links from soundcloud. By default, it uses "YOUR_CLIENT_ID" that its a valid client id :P
60
60
* embedlyKey (string): If it's defined, get info from embedly service (only for know supported services and if the page doesn't have its own oembed service)
61
61
* oembedParameters (array): Extra GET parameters to the oembed requests.
62
-
*ignoreFacebookProvider (bool): If it's true, the facebook provider won't be used. This reduces the number of requests and prevent some false values (the facebook scrapping is not perfect).
62
+
*facebookProvider (bool): If it's true, the facebook provider will be used to get the page information, that uses the facebook scrapping. By default is false because reduce the number of requests and facebook scrapping not always returns right results.
63
63
64
64
```php
65
65
$options = array(
@@ -75,11 +75,11 @@ Customize the request
75
75
Embed provides a RequestResolvers\Curl class to resolve all requests using the curl library. You can create your own request resolver class creating a class implementing the RequestResolverInterface.
0 commit comments