Class: SiteHealth::FacebookShareLink
- Defined in:
- lib/site_health/checkers/facebook_share_link.rb
Constant Summary collapse
- DOC_URL =
'https://developers.facebook.com/docs/sharing/reference/feed-dialog'
- DOC_REF =
"See Facebooks documentation at #{DOC_URL}."
- DEPRECATION_NOTICE =
<<~DEPNOTICE [DEPCREATED] StackOverflow https://stackoverflow.com/questions/20956229/has-facebook-sharer-php-changed-to-no-longer-accept-detailed-parameters Use dialog/feeds instead of sharer.php https://developers.facebook.com/docs/sharing/reference/feed-dialog Official answer from fb team https://developers.facebook.com/x/bugs/357750474364812/ DEPNOTICE
Constants inherited from Checker
Instance Attribute Summary
Attributes inherited from Checker
#config, #data, #issues, #logger, #page
Instance Method Summary collapse
Methods inherited from Checker
#add_data, #add_issue, #add_issue_type, #call, #initialize, issue_types, #issue_types, #name, name, #to_h, #types, types, #url
Constructor Details
This class inherits a constructor from SiteHealth::Checker
Instance Method Details
#should_check? ⇒ Boolean
53 54 55 56 57 58 |
# File 'lib/site_health/checkers/facebook_share_link.rb', line 53 def should_check? return false unless super return false unless look_like_facebook_share_url? true end |