Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.17 KB

RESTful-Connector

Helping you connect to third-party RESTful APIs using HTTP and OAuth 2.0

Features

  • Log into Facebook and Google+ using OAuth2.0
  • Get users' profile information and feeds
  • Now with Facebook Like! (Unlike in active development)

Setup

HTTP

http.class.php

This class gives you more control over error-handling than PHP's file_get_contents

OAuth2.0 Login

oauth2.php

  • Rename example.keys.php to keys.php and add your apps' secrets and client IDs.

    If you're using this code as part of an open source project, do one of the following:

    • Save keys.php in a different folder and update either require_once('keys.php') or your PHP include_path

    • Add keys.php to your .gitignore

      I cannot be held responsible if you allow your apps' secrets to become public

Supported APIs

Resources