Note that there are some explanatory texts on larger screens.

plurals
  1. POEnter website by logging in Google Account using Python
    primarykey
    data
    text
    <p>I am making a website that makes graphs of the number of people present in groups (from www.codecamy.com). </p> <p>To achieve this I came with a plan. </p> <p>I will have a server which will poll the CodeCademy groups page (<a href="http://www.codecademy.com/groups" rel="nofollow noreferrer">http://www.codecademy.com/groups</a>) every 30 seconds and retrieve the needed information from that HTML.</p> <p><img src="https://i.stack.imgur.com/9sIMY.png" alt="enter image description here"></p> <p>Then, when a client connects to my website, the server will give the client that information and then the client will use either <a href="http://www.chartjs.org/docs/" rel="nofollow noreferrer">http://www.chartjs.org/docs/</a> or <a href="http://www.jqplot.com/" rel="nofollow noreferrer">http://www.jqplot.com/</a> to draw the graph based on that information.</p> <p><img src="https://i.stack.imgur.com/nGPAX.png" alt="enter image description here"></p> <p>However, there is a big problem. If you have clicked any of the links from CodeCademy, then you realized you need to have an account to actually see the website. This can be a facebook account, a google account or a twitter account.</p> <p><img src="https://i.stack.imgur.com/7a1JN.png" alt="enter image description here"></p> <p>So, short story, if I want to access the page with the information about the groups, I need to have a Bot account for my server and I need to teach my server to login into that account.</p> <p>Thus, I have created a dummy account at gmail, called codecademybot, and I want my server to use this account to login into codecademy so it can see that page's content.</p> <p>By following a <a href="https://developers.google.com/+/quickstart/python" rel="nofollow noreferrer">quickstart python tutorial that connects me to google+</a> I now also have the code to interact with it. </p> <p>However, despite all this, I still don't have the smallest idea on how to interact with the website. I have the following questions:</p> <ol> <li>How do I detect if I am logged in my google account?</li> <li>How do I connect myself to that account so I can then access the page? </li> <li>Is there a special link to login into that website?</li> </ol> <p>I am quite lost and would appreciate any possible help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload