Skip to content

Commit

Permalink
Started a FAQ section in the POD
Browse files Browse the repository at this point in the history
  • Loading branch information
semifor committed Jun 24, 2009
1 parent e494ab7 commit 2e9108a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README
Expand Up @@ -948,6 +948,15 @@ ERROR HANDLING
warn "update failed because: $@\n";
}

FAQ
Why does "->followers({ screen_name => $friend })" return *my* followers
instead of $friends's?
First, check carefully to make sure you've spelled "screen_name"
correctly. Twitter sometimes discards parameters it doesn't
recognize. In this case, the result is a list of your own
followers---the same thing that would happen if you called
"followers" without the "screen_name" parameter.

SEE ALSO
Net::Twitter::Error
The "Net::Twitter" exception object.
Expand Down
13 changes: 13 additions & 0 deletions src/net-twitter-pod.tt2
Expand Up @@ -424,6 +424,19 @@ detailed error information, you can simply treat $@ as a string:
warn "update failed because: $@\n";
}

=head1 FAQ

=over 4

=item Why does C<< ->followers({ screen_name => $friend }) >> return I<my> followers instead of C<$friends>'s?

First, check carefully to make sure you've spelled "screen_name" correctly.
Twitter sometimes discards parameters it doesn't recognize. In this case,
the result is a list of your own followers---the same thing that would happen
if you called C<followers> without the C<screen_name> parameter.

=back

=head1 SEE ALSO

=over 4
Expand Down

0 comments on commit 2e9108a

Please sign in to comment.