Posted by Igor Benic

Web Developer who mainly uses WordPress for projects. Working on various project through Codeable & Toptal. Author of several ebooks at


  1. This has been extremely helpful in getting my headless WP backend up and running using the facebook login SDK!! Its very rare to find help on headless wp builds/setups & process, site bookmarked! Great job of explaining and code sharing. Thank you so much for all the help!


  2. How can I setup autoload help me please


    1. Once you install the packages using composer, the autoload.php provided by composer will be enough to autoload classes.

      If you have not yet been introduced to composer, you can check their site:

      If you would like create your own custom autoloaders, you can then here is an article from Tom McFarlin about creating autoloaders for WordPress projects:


  3. protected $googleClient = ‘YOUR_GOOGLE_CLIENT_ID’;

    should i replace ‘YOUR_GOOGLE_CLIENT_ID’ with id i get from google console ?


    1. Yes, that’s the long google client id. You can see for example in their own code example: how they use the client ID.

      But in this code you use the whole part ( included).


      1. thank you very much , implemented with React-native / wp backend
        and it work like a charm


Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.