Module Expr Str TryExcept body Import alias Import alias Import alias Import alias Import alias handlers ExceptHandler body Raise Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr Num body Pass orelse Print Str Expr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd Str NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Print BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Num Assign NameStore Call NameLoad Str For NameStore Call NameLoad Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpAdd NameLoad Str Str Print BinOpAdd Str Call NameLoad BinOpSub NameLoad Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Dict Assign NameStore Num Assign NameStore Call NameLoad Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpAdd NameLoad Str Str Print BinOpAdd Str Call NameLoad BinOpSub NameLoad Num Return Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareEq Call NameLoad NameLoad Num body Print Str Expr Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Print Str Return Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
The MIT License (MIT)

Copyright (c) 2014 Ankit Aggarwal <ankitaggarwal011@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
 N/A N/A N/A urllib N/A sys N/A os N/A datetime N/A json N/A N/A N/A N/A Dependencies not found. create_dir N/A N/A prefix N/A N/A N/A dir_c N/A N/A N/A os path join N/A N/A os getcwd prefix N/A N/A N/A N/A N/A datetime datetime now strftime %Y-%m-%d_%H-%M-%S N/A N/A N/A N/A N/A os makedirs dir_c N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno 17 N/A N/A N/A N/A Cannot create folder. Try again. N/A exit N/A dir_c N/A gen_url N/A N/A name N/A N/A N/A N/A N/A http://graph.facebook.com/picture?id= name &width=800 N/A get_profile N/A N/A photo_url save_url N/A N/A N/A N/A N/A Fetching  photo_url  ... N/A N/A N/A urllib urlretrieve photo_url save_url N/A N/A photo_url save_url N/A get_profile_of_id N/A N/A id1 id2 N/A N/A N/A photo_data N/A N/A photo_count 1 N/A folder N/A create_dir fb-image N/A i N/A xrange N/A int id1 N/A N/A int id2 1 N/A N/A N/A photo_data N/A photo_count N/A get_profile N/A gen_url N/A str i N/A N/A N/A folder / N/A str i .jpg N/A photo_count 1 N/A N/A N/A json dump photo_data N/A open N/A folder /data.txt wb N/A N/A Images fetched:  N/A str N/A photo_count 1 N/A 0 N/A get_profile_of_file N/A N/A filename N/A N/A N/A names N/A N/A N/A open filename f N/A N/A content N/A N/A f readlines N/A i content N/A N/A N/A N/A names append N/A N/A N/A N/A i rstrip lstrip N/A photo_data N/A N/A photo_count 1 N/A folder N/A create_dir fb-image N/A i names N/A N/A N/A photo_data N/A photo_count N/A get_profile N/A gen_url i N/A N/A N/A folder / N/A str i .jpg N/A photo_count 1 N/A N/A N/A json dump photo_data N/A open N/A folder /data.txt wb N/A N/A Images fetched:  N/A str N/A photo_count 1 N/A 0 N/A main N/A N/A N/A N/A N/A in_name N/A list N/A N/A sys argv N/A 1 N/A N/A N/A len in_name 1 N/A N/A This will only work if the given text file name has only user-ids and not any usernames. This is due to recent changes in the Facebook API. N/A N/A get_profile_of_file N/A in_name N/A 0 N/A N/A N/A N/A len in_name 2 N/A N/A N/A get_profile_of_id N/A in_name N/A 0 N/A in_name N/A 1 N/A N/A Wrong input. Please try again. N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A main