Changeset 0b372aa


Ignore:
Timestamp:
Sep 19, 2011, 1:31:35 PM (13 years ago)
Author:
Edward Z. Yang <ezyang@mit.edu>
Children:
d35b6fa
Parents:
fd92f78
git-author:
Edward Z. Yang <ezyang@mit.edu> (07/15/11 21:48:50)
git-committer:
Edward Z. Yang <ezyang@mit.edu> (09/19/11 13:31:35)
Message:
Show permalink for comments too.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Facebook/lib/BarnOwl/Module/Facebook/Handle.pm

    rfd92f78 r0b372aa  
    289289            }
    290290
     291            my $link = $post->{actions}[0]{link};
     292
    291293            # Only handle post if it's new
    292294            my $created_time = str2time($post->{created_time});
     
    307309                    # serves as a canonical link to the post.  The {name}
    308310                    # field should equal 'Comment'.
    309                     permalink => $post->{actions}[0]{link},
     311                    permalink => $link,
    310312                   );
    311313                BarnOwl::queue_message($msg);
     
    333335                        topic     => $topic,
    334336                        time      => asctime(localtime $comment_time),
    335                         permalink => "",
     337                        permalink => $link,
    336338                       );
    337339                    BarnOwl::queue_message($msg);
Note: See TracChangeset for help on using the changeset viewer.