Results 1 to 30 of 83

Hybrid View

  1. Collapse Details
     
    #1
    dont' cum near me ewokmyweewok's Avatar
    Join Date
    Apr 2014
    Posts
    1,588
    lol i have chosen the path to pull a hair out every second for the next 20 year i cannot sacrifice time to make a site right now no a days its so complicated its not just compy and paste
    Reply With Quote
     

  2. Collapse Details
     
    #2
    ส็็็็็็็็็็็็ส็็็็็็ ็็็็็ Autistic Spectrum's Avatar
    Join Date
    Dec 1969
    Location
    ส็็็็็็็็็็็็ส&#
    Posts
    50,841
    that's it

    make a data store that puts all the users id in there then just hit there api with those 3 things and make a simple html templete that binds the data, bing bang boom your 3 grand a month richer for sure
    I am the owner of http://www.ezmangaforum.com
    Reply With Quote
     

  3. Collapse Details
     
    #3
    ส็็็็็็็็็็็็ส็็็็็็ ็็็็็ Autistic Spectrum's Avatar
    Join Date
    Dec 1969
    Location
    ส็็็็็็็็็็็็ส&#
    Posts
    50,841
    Code:
    <script src="https://apis.google.com/js/api.js"></script>
    <script>
      /**
       * Sample JavaScript code for youtube.liveBroadcasts.list
       * See instructions for running APIs Explorer code samples locally:
       * https://developers.google.com/explorer-help/guides/code_samples#javascript
       */
    
      function authenticate() {
        return gapi.auth2.getAuthInstance()
            .signIn({scope: "https://www.googleapis.com/auth/youtube.readonly"})
            .then(function() { console.log("Sign-in successful"); },
                  function(err) { console.error("Error signing in", err); });
      }
      function loadClient() {
        gapi.client.setApiKey("YOUR_API_KEY");
        return gapi.client.load("https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest")
            .then(function() { console.log("GAPI client loaded for API"); },
                  function(err) { console.error("Error loading GAPI client for API", err); });
      }
      // Make sure the client is loaded and sign-in is complete before calling this method.
      function execute() {
        return gapi.client.youtube.liveBroadcasts.list({
          "part": "snippet,contentDetails,status",
          "id": "YOUR_BROADCAST_ID"
        })
            .then(function(response) {
                    // Handle the results here (response.result has the parsed body).
                    console.log("Response", response);
                  },
                  function(err) { console.error("Execute error", err); });
      }
      gapi.load("client:auth2", function() {
        gapi.auth2.init({client_id: "YOUR_CLIENT_ID"});
      });
    </script>
    <button onclick="authenticate().then(loadClient)">authorize and load</button>
    <button onclick="execute()">execute</button>
    I am the owner of http://www.ezmangaforum.com
    Reply With Quote
     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •