import requests
import re


def get_likes_count(page_name: str) -> int:
    """Get the number of likes on the Facebook page"""
    URL = f"https://fr-fr.facebook.com/pg/{page_name}"

    response = requests.get(URL)
    regex = ('<meta name="description"[^/>0-9]+'
             '([0-9]+)[\s]+J&#x2019;aime[^/>]+')
    count = re.findall(regex, response.text)[0]
    return int(count) if str(int(count)) == count else -1