ray1980

Project Picky 的 tweets最上面的@地址不对

  •  
  •   ray1980 · Jul 20, 2010 · 5306 views
    This topic created in 5801 days ago, the information mentioned may be changed or developed.
    我的是@ray1980
    链接是@raymend
    5 replies    1970-01-01 08:00:00 +08:00
    cnleoyang
        1
    cnleoyang  
       Jul 22, 2010
    是的,代码这里写错了:

    main.py ln:230
    template_values['twitter_account'] = tweets[0].user.name;
    cnleoyang
        2
    cnleoyang  
       Jul 22, 2010
    或许作者写代码需要在php和python间切换,部分python代码语句结尾是分号。
    Fann
        3
    Fann  
       Jul 22, 2010
    template_values['twitter_account'] = tweets[0].user.name;
    =>
    template_values['twitter_account'] = tweets[0].user.screen_name;
    cnleoyang
        4
    cnleoyang  
       Jul 22, 2010
    template_values['twitter_account'] = twitter_account
    Fann
        5
    Fann  
       Jul 22, 2010
    @cnleoyang 省力。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2984 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
    ♥ Do have faith in what you're doing.