Renren fully migrated to API2.0 & pep8-formatted

def new_channel(full=False):
        c = SNSBase.new_channel(full)

        c['app_key'] = ''
        c['app_secret'] = ''
        c['platform'] = 'RenrenFeed'
        c['auth_info'] = {
                "save_token_file": "(default)",
                "cmd_request_url": "(default)",
                "callback_url": "http://snsapi.sinaapp.com/auth.php",
                "cmd_fetch_code": "(default)"
                }
        return c

  sp = RenrenFeed.new_channel()
    sp["app_key"] = "268874"
    sp["app_secret"] = "1db5c5bf4ca44a75b3e6065f401d0b16"
    sp["channel_name"] = "renren"
    sp["platform"] = "RenrenFeed"
   
    renren = RenrenFeed(sp)
    renren.auth()