1Net::Identica(3) User Contributed Perl Documentation Net::Identica(3)
2
3
4
6 Net::Identica - A perl interface to the Identi.ca Twitter Compatible
7 API
8
10 version 4.01043
11
13 use Net::Identica;
14
15 $nt = Net::Identica->new(username => $user, password => $passwd);
16
17 $nt->update('Hello, Identica friends!');
18
20 This module is a backwards compatibility wrapper for applications that
21 used Net::Identica packaged with "Net::Twitter" versions 2.12 and
22 earlier. Instead, use Net::Twitter with the "identica" option to gain
23 all of the new features and functionality (OAuth, Search, exceptions on
24 error, etc.).
25
26 use Net::Twitter;
27
28 # A simple, backwards compatible replacement for Net::Identica
29 my $identica = Net::Twitter->new(
30 legacy => 1,
31 identica => 1,
32 username => $username,
33 password => $password,
34 );
35
36 # A more complex object with OAuth and some optional traits
37 my $identica = Net::Twitter->new(
38 traits => [qw/API::REST API::Search InflateObjects/],
39 identica => 1,
40 consumer_key => $consumer_key,
41 consumer_secret => $consumer_secret,
42 access_token => $token,
43 access_token_secret => $token_secret,
44 );
45
47 The micro-blogging service <http://identi.ca> provides a Twitter
48 compatible API. This module simply creates an instance of
49 "Net::Twitter" with the "identica" option set.
50
51 See Net::Twitter for full documentation.
52
54 new Creates a "Net::Twitter" object by call "new" in Net::Twitter with
55 the "identica" option preset.
56
58 Net::Twitter
59 Full documentation.
60
62 Marc Mims <marc@questright.com>
63
65 Copyright (c) 2016 Marc Mims
66
67 The Twitter API itself, and the description text used in this module
68 is:
69
70 Copyright (c) 2009 Twitter
71
72 This library is free software; you can redistribute it and/or modify it
73 under the same terms as Perl itself.
74
76 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
77 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
78 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
79 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
80 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
81 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
82 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
83 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
84 NECESSARY SERVICING, REPAIR, OR CORRECTION.
85
86 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
87 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
88 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE
89 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
90 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
91 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
92 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
93 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
94 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
95 DAMAGES.
96
97
98
99perl v5.28.0 2018-01-17 Net::Identica(3)