diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-23 12:52:58 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-28 07:44:23 -0700 |
commit | a78f184652beb0fc84afbbfb6ec5a407e9409cc8 (patch) | |
tree | ce42f1c367d2ba5d63aa72bde3aa147a88de66d7 /plugins/YammerImport/scripts | |
parent | e8526b2e1f7ed269c84c93e72fda6c4f98e6d49b (diff) |
A little more cleanup...
Diffstat (limited to 'plugins/YammerImport/scripts')
-rw-r--r-- | plugins/YammerImport/scripts/yamdump.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YammerImport/scripts/yamdump.php b/plugins/YammerImport/scripts/yamdump.php index a358777ad..944ee2e49 100644 --- a/plugins/YammerImport/scripts/yamdump.php +++ b/plugins/YammerImport/scripts/yamdump.php @@ -13,6 +13,7 @@ require 'yam-config.php'; $yam = new SN_YammerClient($consumerKey, $consumerSecret, $token, $tokenSecret); $imp = new YammerImporter($yam); +/* $data = $yam->users(); var_dump($data); // @fixme follow paging @@ -20,9 +21,9 @@ foreach ($data as $item) { $user = $imp->prepUser($item); var_dump($user); } +*/ -/* -$data = $yam->messages(); +$data = $yam->messages(array('newer_than' => 1)); var_dump($data); // @fixme follow paging $messages = $data['messages']; @@ -31,4 +32,3 @@ foreach ($messages as $message) { $notice = $imp->prepNotice($message); var_dump($notice); } -*/ |