Skip to content

Commit

Permalink
doc block fix
Browse files Browse the repository at this point in the history
  • Loading branch information
veneliniliev committed Oct 19, 2016
1 parent 1f6a6d3 commit 9e70eff
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions src/FacebookSharingDebugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,32 @@

namespace veneliniliev\FacebookSharingDebugger;

/*
* https://developers.facebook.com/docs/opengraph/using-objects
*
* Updating Objects
*
* When an action is published, or a Like button pointing to the object clicked,
* Facebook will 'scrape' the HTML page of the object and read the meta tags.
* The object scrape also occurs when:
*
* - Every 7 days after the first scrape
*
* - The object URL is input in the Object Debugger
* http://developers.facebook.com/tools/debug
*
* - When an app triggers a scrape using an API endpoint
* This Graph API endpoint is simply a call to:
*
* POST /?id={object-instance-id or object-url}&scrape=true
*/

/**
* Something
* FacebookSharingDebugger
*
*/
class FacebookSharingDebugger {


/*
* https://developers.facebook.com/docs/opengraph/using-objects
*
* Updating Objects
*
* When an action is published, or a Like button pointing to the object clicked,
* Facebook will 'scrape' the HTML page of the object and read the meta tags.
* The object scrape also occurs when:
*
* - Every 7 days after the first scrape
*
* - The object URL is input in the Object Debugger
* http://developers.facebook.com/tools/debug
*
* - When an app triggers a scrape using an API endpoint
* This Graph API endpoint is simply a call to:
*
* POST /?id={object-instance-id or object-url}&scrape=true
*/

public static function reload($url) {
$graph = 'https://graph.facebook.com/';
$post = 'id=' . urlencode($url) . '&scrape=true';
Expand Down

0 comments on commit 9e70eff

Please sign in to comment.