| 1 |
Revision history for WWW-Facebook-API |
| 2 |
|
| 3 |
0.4.18 Fri Mar 12 23:39:59 PST 2010 |
| 4 |
- Fixed Canvas.pm to correctly select MD5-hex value. (Andrey Ilyin)++ |
| 5 |
- Updated Canvas.pm docs to specify cookie method needed |
| 6 |
- Updated copyright information |
| 7 |
|
| 8 |
0.4.17 Thu Nov 26 09:48:03 PST 2009 |
| 9 |
- Updated Stream.publish to automatically call encode action_links |
| 10 |
to JSON. (Larry Mak)++ |
| 11 |
- Fixed upload method in Video along with docs (Anthony Bouvier)++ |
| 12 |
- Updated server call in API.pm to allow a filename to be passed in |
| 13 |
from the upload methods under Video and Photo. (Anthony Bouvier)++ |
| 14 |
- Didn't include Canvas testing b/c it looks like the code changes |
| 15 |
back in August broke the mocking. (It's on the TODO list) |
| 16 |
- Added format testing for Video.upload |
| 17 |
|
| 18 |
0.4.16 Mon Aug 24 18:43:12 PDT 2009 |
| 19 |
Added Exception submodule for handling exceptions (Kevin Riggle)++ |
| 20 |
|
| 21 |
0.4.15 Fri Aug 21 22:26:44 PDT 2009 |
| 22 |
Updated POD and formatting (for Perl::Critic) (gregor herrmann)++ |
| 23 |
Added new namespaces that are now a part of Facebook API along with |
| 24 |
basic tests |
| 25 |
Added documentation for all namespaces in API.pm |
| 26 |
Deleted deprecated namespaces and methods |
| 27 |
Added begin and end methods to start and finish permissions mode in |
| 28 |
Permissions.pm |
| 29 |
Changed formatting and removed versioning information. Versioning |
| 30 |
information is no longer specific to each submodule, but to the |
| 31 |
distribution |
| 32 |
|
| 33 |
0.4.14 Tue Oct 14 22:37;41 EDT 2008 |
| 34 |
Added Application,Admin,SMS APIs + tests (tburke++) |
| 35 |
Fixed a bug with get_registered_template_bundle in Feed API (tburke++) |
| 36 |
|
| 37 |
0.4.13 Wed Jul 30 18:14:59 PDT 2008 |
| 38 |
Added Readonly as dependency |
| 39 |
|
| 40 |
0.4.12 Wed Jul 30 04:09:26 PDT 2008 |
| 41 |
Perltidy'd |
| 42 |
Fixed RT#33571 and RT#37617 (gregor herrmann)++ |
| 43 |
Addresses RT#37840 (clscott++) |
| 44 |
|
| 45 |
0.4.11 Thu Feb 28 20:44:29 PST 2008 |
| 46 |
Fix documentation bug for notifications->send_email |
| 47 |
Add FAQ entry for RT#31620 and RT#31944 |
| 48 |
Regen'ed README |
| 49 |
Fixed utf8 encoding issue: RT#32500 (thanks for the patch, Ryan) |
| 50 |
Added get_lists in friends namespace |
| 51 |
Added data namespace with tests |
| 52 |
Updated documentation to match various API updates |
| 53 |
Perltidy'd |
| 54 |
|
| 55 |
0.4.10 Sat Dec 1 17:30:58 PST 2007 |
| 56 |
Fixed bug where session_key parameter value wasn't being used when |
| 57 |
passed to a call (thanks Louise-Philippe) |
| 58 |
Perl-tidied and critiqued |
| 59 |
Added stub documentation for base and new methods |
| 60 |
|
| 61 |
0.4.9 Sun Nov 25 11:39:47 PST 2007 |
| 62 |
Fixed some documentation errors |
| 63 |
Updated documentation to match current documentation on Facebook site |
| 64 |
Added pages namespace |
| 65 |
Removed get_FBML and set_FBML in profile namespace |
| 66 |
|
| 67 |
0.4.8 Sun Nov 11 14:37:41 PST 2007 |
| 68 |
Updated docs and added FAQ with two questions |
| 69 |
Added marketplace |
| 70 |
Added users->has_app_permission, users->is_app_added, users->set_status |
| 71 |
Added feed->publish_templatized_action (thanks Larry Mak) |
| 72 |
Changed autogen methods for subclasses in API.pm (thanks Shawn) |
| 73 |
No longer send secret when authenticating (thanks Derek) |
| 74 |
|
| 75 |
0.4.7 Mon Sep 3 18:32:38 PDT 2007 |
| 76 |
Updated POD and README |
| 77 |
|
| 78 |
0.4.6 Mon Sep 3 18:24:35 PDT 2007 |
| 79 |
Updated POD and README (and forgot to commit changes ): |
| 80 |
|
| 81 |
0.4.5 Mon Sep 3 16:35:59 PDT 2007 |
| 82 |
BUG FIX: $api->photos->upload now works as documented |
| 83 |
BUG FIX: some session keys weren't being parsed correctly, |
| 84 |
which made later API calls ultimately fail. |
| 85 |
Updated tests to account for FBML version |
| 86 |
Some internal refactoring |
| 87 |
|
| 88 |
0.4.4 Sat Jul 28 13:59:17 PDT 2007 |
| 89 |
Fixed get_infinite_sesion url (codegen => code_gen) |
| 90 |
Fixed error message carping (only matters in debug mode) |
| 91 |
Added app_id attribute |
| 92 |
Commented out tests using IO::String, since they're failing for some |
| 93 |
people and are not accurately representing the module's functionality |
| 94 |
|
| 95 |
0.4.3 Fri Jul 20 14:55:48 PDT 2007 |
| 96 |
Fix failing test for when CGI module is greater than 3.15 (t/canvas.t) |
| 97 |
Try to fix test problem w/IO::String on 5.9.x(?) |
| 98 |
Make live tests work again (changed SECRET_KEY to SECRET) |
| 99 |
Run some tests only if AUTHOR_TESTS is set |
| 100 |
|
| 101 |
0.4.2 Sun Jul 15 03:10:07 PDT 2007 |
| 102 |
*** API CHANGE *** |
| 103 |
WFA_SECRET_KEY environment variable is now WFA_SECRET |
| 104 |
Config can now be loaded from a file if specified as a parameter: |
| 105 |
config => 'file_name' |
| 106 |
Any calls to Facebook that returned empty hash/array references will now |
| 107 |
return nothing instead of the empty reference. |
| 108 |
Reworked require_* and redirect methods to work better. See docs. |
| 109 |
redirect() now punts to CGI->new->redirect (was $self->query->redirect) |
| 110 |
Try to fix test failure when checking debug output |
| 111 |
|
| 112 |
0.4.1 Wed Jul 11 07:39:25 PDT 2007 |
| 113 |
Fixed doc formatting and removed 'update' namespace doc |
| 114 |
(Thanks Tom Hukins) |
| 115 |
Fixed require_* methods and added tests (Thanks Skyler Clark) |
| 116 |
_get_url_params now works when 'canvas' is passed in by itself, or if |
| 117 |
it's passed in as a key. |
| 118 |
Removed 'is_app_added' from 'users' namespace |
| 119 |
Updated test coverage |
| 120 |
|
| 121 |
0.4.0 Tue Jul 10 06:28:44 PDT 2007 |
| 122 |
Fixed failing test in t/auth.t on linux (Thanks Tom Hukins) |
| 123 |
Fixed parse => 1 and format => XML bug (added tests) |
| 124 |
|
| 125 |
0.3.9 Sun Jul 8 18:53:57 PDT 2007 |
| 126 |
Fixed skipped test construct |
| 127 |
Moved new and base subs for different namespaces into API.pm generator |
| 128 |
Added tests for canvas methods |
| 129 |
Added tests for auth methods |
| 130 |
Added tests for most other namespace methods, some better than others. |
| 131 |
(Better than nothin') |
| 132 |
Removed WWW::Facebook::API::Update, since no longer in API. |
| 133 |
|
| 134 |
0.3.8 Sun Jul 8 02:45:58 PDT 2007 |
| 135 |
FQL->query() now always returns an array reference when using JSON and |
| 136 |
'parse' is set to true. (Thanks Jim Spath) |
| 137 |
Added query() call in examples/facebook-desktop-json for now. |
| 138 |
Don't call allow_nonref() if JSON::Any isn't using JSON::XS |
| 139 |
Fixed fql bug when not using JSON and not having $self->parse set. |
| 140 |
Fixed which secret to be used in call() method. |
| 141 |
Added quite a few tests |
| 142 |
Using environment variables for defaults if defined (see docs) |
| 143 |
Added _parser() for repeated code |
| 144 |
|
| 145 |
0.3.7 Thu Jul 5 07:20:14 PDT 2007 |
| 146 |
Simpler fix for JSON problem, which fixed some other bugs that cropped |
| 147 |
up with previous method. (Thanks Skyler Clark) |
| 148 |
|
| 149 |
0.3.6 Fri Jun 29 11:06:53 PDT 2007 |
| 150 |
Critical bug in 0.3.5 in setting attributes (affects using the canvas) |
| 151 |
(Thanks Jim Spath) |
| 152 |
|
| 153 |
0.3.5 Thu Jun 28 12:38:24 PDT 2007 |
| 154 |
Added canvas->get_non_fb_params() (Thanks Matt Sickler) |
| 155 |
Clarified Canvas documentation for validate_sig() (Thanks Matt Sickler) |
| 156 |
Refactored get_*_url methods |
| 157 |
Worked on require_* methods and added docs |
| 158 |
Added 'query' attribute to API.pm to store current CGI or |
| 159 |
Apache::Request object. |
| 160 |
Fixed test coverage table formatting in docs |
| 161 |
Add JSON::XS nonref fix to _parse (returns from notifications->send |
| 162 |
haven't been working) (Thanks Matt Sickler and Jim Spath) |
| 163 |
|
| 164 |
0.3.4 Fri Jun 22 19:16:34 PDT 2007 |
| 165 |
Cleaned up attribute creators and namespace method creators (Thanks |
| 166 |
Matt Sickler) |
| 167 |
Added debug message in _parse |
| 168 |
Require auth_token for get_session() calls (was being set to secret |
| 169 |
if no token was passed in for web apps, and that was wrong) |
| 170 |
Edited docs to clarify what needs to be done for web apps to call |
| 171 |
auth->get_session(). (Thanks Olaf Alders) |
| 172 |
XML is no longer parsed when the parse flag is true. (Thanks Olaf |
| 173 |
Alders) |
| 174 |
Added CONTRIBUTORS section for those who've contributed ideas and code |
| 175 |
canvas->in_frame now checks for 'in_iframe' rather than erroneous |
| 176 |
'in_frame'. Fixed doc example call, too. (Thanks Simon Cavalletto) |
| 177 |
JSON loading patch (Thanks J. Shirley) |
| 178 |
|
| 179 |
0.3.3 Thu Jun 7 22:26:17 PDT 2007 |
| 180 |
Ran through Perl::Critic and added tests (not included in MANIFEST) |
| 181 |
Added method call_success in API.pm to simplify error tracking |
| 182 |
Added method get_infinite_session_url to API.pm |
| 183 |
Added test coverage table to the end of API.pm |
| 184 |
Error message and code is now stored in last_error_message |
| 185 |
Updated docs (some errors in examples, too) |
| 186 |
|
| 187 |
0.3.2 Sun Jun 3 21:38:20 PDT 2007 |
| 188 |
*** API CHANGE *** |
| 189 |
Change auth->login method to comply with Facebook TOS A.9.iv |
| 190 |
Changed examples accordingly (removed web examples, kept canvas) |
| 191 |
Added TODO section in API.pm |
| 192 |
Removed dependency on WWW::Mechanize, and just use LWP::UserAgent |
| 193 |
|
| 194 |
0.3.1 Sun Jun 3 13:46:03 PDT 2007 |
| 195 |
Fixed POD formatting and synopsis example |
| 196 |
Updated docs for diagnostics messages |
| 197 |
Removed internal methods in Auth.pm |
| 198 |
README now has doc for API.pm |
| 199 |
|
| 200 |
0.3.0 Sun Jun 3 01:16:18 PDT 2007 |
| 201 |
*** API changes *** |
| 202 |
JSON::Any is used by default, and parse is on by default, so |
| 203 |
a Perl data structure will be returned |
| 204 |
The JSON or XML response is still returned if parse is set to 0 |
| 205 |
Removed the (now unneeded) parse variables. |
| 206 |
Removed API::Base, API::Simple, API::Errors |
| 207 |
Removed Login.pm and moved its login method to Auth.pm |
| 208 |
Changed get_add_url and get_login_url to take in a hash. Those, along |
| 209 |
with auth->login now use the _add_url_params method. |
| 210 |
Added some API tests |
| 211 |
Updated examples/facebook-{desktop,web}-json to reflect new API |
| 212 |
Added examples/facebook-{desktop,web}-raw to show XML output on calls |
| 213 |
Removed examples/facebook-{desktop,web}-xml |
| 214 |
Updated examples/facebook-canvas-xml and renamed to facebook-canvas-json |
| 215 |
Fixed bug in get_session parsing |
| 216 |
Fixed POD errors in API.pm |
| 217 |
Tests: updated t/auth.t and and t/00.load.t; removed t/api_simple.t |
| 218 |
|
| 219 |
Branch Sat Jun 2 01:40:44 PDT 2007 |
| 220 |
simple is now the default. { NoAttr => 1, SuppressEmpty => 1} |
| 221 |
is default parse_params for XML |
| 222 |
Updated docs |
| 223 |
Updated examples |
| 224 |
Updated Auth.pm and Base.pm to account for simple change |
| 225 |
Removed now defunct WWW::Facebook::API::Simple |
| 226 |
Applied David Leadbeater's patch |
| 227 |
fixes generat_sig and verify_sig in Base.pm |
| 228 |
adds get_facebook_url, get_add_url, get_login_url, get_app_url |
| 229 |
added canvas example |
| 230 |
|
| 231 |
0.2.3 Sat Jun 2 01:59:54 PDT 2007 |
| 232 |
Add XML::Simple dependency until streamline is complete |
| 233 |
|
| 234 |
0.2.2 Sat Jun 2 01:24:19 PDT 2007 |
| 235 |
Added method to Base (and paramter to API->new) to configure options |
| 236 |
passed to XML or JSON parser (if used): parse_params |
| 237 |
Added generate_sig, verify_sig, session, unescape_string to Base.pm |
| 238 |
Added is_app_added to Users.pm |
| 239 |
Perltidy'd examples, and fixed xml parsing dereferencing that was |
| 240 |
broken in HEAD |
| 241 |
Fixed parse_params bug (thanks Patrick) |
| 242 |
Applied patch for Canvas class (thanks David Leadbeater) |
| 243 |
Changed Canvas methods a bit (semantics the same) |
| 244 |
parse_response is now set to 1 as the default. |
| 245 |
|
| 246 |
0.2.1 Fri Jun 1 02:55:17 PDT 2007 |
| 247 |
Removed OSX-specific code in Login.pm (shouldn't cause any major |
| 248 |
damage, but annoying nonetheless) |
| 249 |
|
| 250 |
0.2.0 Fri Jun 1 02:55:17 PDT 2007 |
| 251 |
Perltidy'd |
| 252 |
Updated docs to match current usage |
| 253 |
Removed Moose and XML::Simple dependency |
| 254 |
fixed last_call_success method being called on wrong object |
| 255 |
Updated docs to reflect dependency change |
| 256 |
|
| 257 |
0.1.6 Thu May 31 17:54:39 PDT 2007 |
| 258 |
fixed 'errors' method calls in Base.pm |
| 259 |
|
| 260 |
0.1.5 Thu May 31 11:15:52 PDT 2007 |
| 261 |
**** API Change in Errors.pm **** |
| 262 |
log_debug and log_error are no more. log_string is. |
| 263 |
applied patch to add FBML methods RT#27351 (thanks Tom) |
| 264 |
throw_errors flag wasn't being used, and now is (thanks Clayton) |
| 265 |
autogenerated namespaces in API.pm (saves typing :-) |
| 266 |
|
| 267 |
0.1.4 Wed May 30 06:16:35 PDT 2007 |
| 268 |
update docs |
| 269 |
fixed signature generation bug (thanks Shawn) and added test |
| 270 |
|
| 271 |
0.1.3 Tue May 29 19:21:23 PDT 2007 |
| 272 |
updated docs to have profile and feed |
| 273 |
|
| 274 |
0.1.2 Tue May 29 13:37:23 PDT 2007 |
| 275 |
listened to wisdom and fixed test dependency problem RT#27305 |
| 276 |
(thanks Sean) |
| 277 |
added 'format' attribute to Base |
| 278 |
returns JSON (raw response) if specified |
| 279 |
reworked logic for fixing quotes hash refs |
| 280 |
changed POST to GET for Login->login |
| 281 |
moved most of 'simple' logic into Base |
| 282 |
fixed error catching code in Base->call |
| 283 |
added private method _make_xml_for to create xml if specified |
| 284 |
changed debugging output to just print raw response |
| 285 |
made calls in different sub-modules a lot simpler |
| 286 |
|
| 287 |
0.1.1 Mon May 28 22:07:01 PDT 2007 |
| 288 |
added profile.* and feed.* methods of API |
| 289 |
added logout method under Auth |
| 290 |
updated example to use logout method |
| 291 |
added debugging information |
| 292 |
added two load tests |
| 293 |
hash refs under quotes (none which should be refs) are now removed |
| 294 |
|
| 295 |
0.1.0 Mon May 28 07:48:50 PDT 2007 |
| 296 |
slightly changed how to check for errors |
| 297 |
updated docs |
| 298 |
|
| 299 |
0.0.9 Mon May 28 06:53:17 PDT 2007 |
| 300 |
changed from GET to POST for dealing with REST server, since it appears |
| 301 |
that FB is more strict now about what kind of connection it expects |
| 302 |
(thanks to Shawn Van Ittersum for the tip) |
| 303 |
fixed test dependency problem RT#27305 |
| 304 |
removed URI::Escape from dependency list |
| 305 |
updated copyright |
| 306 |
|
| 307 |
0.0.8 Sat May 5 11:22:27 PDT 2007 |
| 308 |
doc coverage and perl-critic tests no longer packaged |
| 309 |
|
| 310 |
0.0.7 Fri May 4 10:08:07 PDT 2007 |
| 311 |
doc cleanup |
| 312 |
|
| 313 |
0.0.6 Thu May 3 04:42:22 PDT 2007 |
| 314 |
lots of changes to make module to match API 1.0 |
| 315 |
added Simple interface |
| 316 |
removed tests that were not longer useful |
| 317 |
|
| 318 |
0.0.5 Sun Nov 5 00:57:05 2006 |
| 319 |
updated module to match API: |
| 320 |
removed Wall.pm |
| 321 |
changed documentation |
| 322 |
added tests: |
| 323 |
messages.t |
| 324 |
pokes.t |
| 325 |
session.t |
| 326 |
|
| 327 |
0.0.4 Sat Nov 4 20:57:47 2006 |
| 328 |
updated module to match API: |
| 329 |
added friends.getAppUsers |
| 330 |
added friends.getRequests |
| 331 |
added session.ping |
| 332 |
fixed some documentation typos |
| 333 |
clarified some documentation |
| 334 |
|
| 335 |
0.0.3 Sat Sep 16 14:32:27 2006 |
| 336 |
Added friends->get_app_users, which was added to the official |
| 337 |
Facebook API |
| 338 |
|
| 339 |
0.0.2 Sat Sep 16 13:00:24 2006 |
| 340 |
Initial release. |
| 341 |
Added more tests |
| 342 |
Changed module structure slightly |
| 343 |
- Client/Auth/UserLogin.pm -> Client/Login.pm |
| 344 |
|
| 345 |
0.0.1 Mon Aug 21 13:09:11 2006 |
| 346 |
Initial development. |