Created
November 4, 2015 12:14
-
-
Save ashitvora-zz/2beaa3dd7bdc81f452bf to your computer and use it in GitHub Desktop.
Ask Facebook to scrape information of a link again
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function requestRescrape($url) | |
{ | |
$graphUrl = 'https://graph.facebook.com/'; | |
$post = 'id=' . urlencode($url) . '&scrape=true'; | |
\Httpful\Request::post($graphUrl)->body($post)->send(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment