How to login Fatsecret using python

185 views
Skip to first unread message

Jingbo Meng

unread,
Feb 7, 2013, 12:17:03 AM2/7/13
to fatsecret-p...@googlegroups.com
Dear FatSecret Platform staff,

We are a research team from University of Southern California, and we are working on a research project on analyzing social networks of FatSecret for health promotion. More specifically, we came up with the idea of using python to do data crawling on FatSecret website. The task here is to fetch the buddy networks of users on FatSecret.

When we write the python code to do this task, we have a problem. The problem is: if we want to see a user's full buddy list, we need to log in first. However, we do not know how to automate the log in step in python. If possible, could you provide some sample code in python that signs in FatSecret website, such that we can fetch a user's full buddy list.

In the meantime, we are also interested in using the REST API to do data crawling by writing a desktop program. However, we are new to the REST language and we do not know what programming environment we should use to write the data crawling program. We carefully read the information on the website but still have little clue on how to do it. If possible, could you also guide us on this data crawling task or provide some sample code so that we can follow?

Many thanks and we are looking forward to hearing from you soon.


Sincerely,
Jingbo

Jaimin Patel

unread,
Feb 9, 2013, 1:27:34 PM2/9/13
to fatsecret-p...@googlegroups.com
I am also looking for same, the connectivity using python requests module. Any instruction or getting started guide might be helpful.

Thank you.

Jaimin Patel

unread,
Feb 9, 2013, 2:56:55 PM2/9/13
to fatsecret-p...@googlegroups.com
Found this one - http://bitbucket.org/fmoo/python-fatsecret/ 

It might be helpful for your needs.

Jaimin


On Thursday, February 7, 2013 12:17:03 AM UTC-5, Jingbo Meng wrote:
Reply all
Reply to author
Forward
0 new messages