How do I use this PHP library to access OpenGraph data in a child theme?

It’s not so much harder then you thought.

  1. Copy the library somewhere into your child directory
  2. Include the file with include or include_once PHP function in the child’s functions.php file (use get_stylesheet_directory function for getting path of the child theme)
  3. Use the library how you want