Number of Facebook Share Links

The Number of Facebook Share Links factor counts how many legacy Facebook sharer URLs — the facebook.com/sharer/sharer.php?u=<target> form — appear in a page’s rendered HTML. It reports a count of matching URL text, not a tally of verified profiles, working buttons, or actual shares.

Factor IDRG-SOC-021
FamilySocial Links
MeasurementCount
Measured zoneRendered HTML with scripts removed

What it measures

This factor counts legacy Facebook sharer URLs on the page — links that use the facebook.com/sharer/sharer.php?u= endpoint together with a captured target address. Each occurrence of that URL shape adds to the count, giving a simple measure of how many Facebook-share controls the page exposes in its markup.

How RankGear measures it

RankGear runs a case-insensitive regular-expression scan over the rendered HTML (with scripts removed) for the facebook.com/sharer/sharer.php?u=<target> form and returns the number of matches. The scan keys on that specific legacy URL shape and its captured target, so it recognizes text that matches the pattern rather than validating a live sharing widget.

What RankGear looks for

<a href="https://www.facebook.com/sharer/sharer.php?u=https://example.com/your-page/">
  Share on Facebook
</a>

→ matches: facebook.com/sharer/sharer.php?u=<target>  (case-insensitive)

How to optimize it

Treat the count as a structural observation, not a target to inflate. Offer a Facebook sharing control only where it is genuinely useful, and make sure it is functional, privacy-conscious, and points at the current canonical page. A single correct sharer link that targets the right URL is worth more than several duplicated or misdirected ones; adding more matching links for their own sake does not improve the page.

Important considerations

  • This counts matching URL text, not distinct, verified, or active social profiles, and not successful shares.
  • Repeated matches are counted separately, so a control that appears more than once inflates the count.
  • The detector follows one specific legacy URL shape, so other valid Facebook-share URL forms may not be counted, while look-alike text can be counted.
  • Treat this as a structural observation. It relates to how a page is built, not proof that adding more social links improves rankings — correlation is not causation.

Related factors

Part of the Factors reference · how RankGear measures · glossary.