Skip to content

About the Rescue Groups

We Support Pet Rescues! Looking for the perfect pet? Why not Adopt from a local rescue group? PetSaver is proud to host local non profit pet rescue groups in hopes of finding a permanent home for the many animals in need of one. Through regular adoption events, our goal is to encourage potential pet owners to consider rescuing an animal the next time they plan on adding a new member to the family. In addition to hosting weekend adoption events, we have Lollypop Farm cats and rabbits for adoption in our store every day.

If you are a member of a Rochester-area rescue group, please email us to get yourself added to our website and/or to set up adoption events!

Click here for a List of upcoming pet events.

Can’t Adopt? You can still help in Other Ways!
Blankets, towels, pet food, supplies, etc. are always accepted by many rescue groups. You can always drop off bagged or boxed items at PetSaver, and we’ll get them to the rescue group of your choice. (You can check out rescue group websites and social media pages for lists of items they need)

-VOTE each time your in for your favorite animal rescue group, PetSaver donates a portion of sales each and every month to great Rochester animal Rescue Groups! the more votes the more money your group gets!
-Donate your PetSaver Club points by redeeming on a gift card and dropping it into the donation bin. or buy an extra can of food to donate to the rescue group of your choice!
-“Like” a rescue group on Facebook and share its fundraising events to your friends
-Attend pet-related community and fundraising events. Click here for a calendar of upcoming pet-related events.
-Volunteer your time at pet rescue fundraising events

//

 

$year_range = 2;

// automatically adjust date range
// human readable years
$since_date = date(‘Y-01-01’, strtotime(‘-‘ . $year_range . ‘ years’));
$until_date = date(‘Y-01-01’, strtotime(‘+’ . $year_range . ‘ years’));

// unix timestamp years
$since_unix_timestamp = strtotime($since_date);
$until_unix_timestamp = strtotime($until_date);

// or you can set a fix date range:
// $since_unix_timestamp = strtotime(“2012-01-08”);
// $until_unix_timestamp = strtotime(“2018-06-28”);

$access_token = “{
“data”: [
{
“category”: “Product/service”,
“name”: “Sample Page”,
“access_token”: “{access-token}”,
“id”: “1234567890”,
“perms”: [
“ADMINISTER”,
“EDIT_PROFILE”,
“CREATE_CONTENT”,
“MODERATE_CONTENT”,
“CREATE_ADS”,
“BASIC_ADMIN”
]
},
}”;

$fields=”id,name,description,place,timezone,start_time,cover”;

$json_link = “https://graph.facebook.com/{$fb_page_id}/events/attending/?fields={$fields}&access_token={$access_token}&since={$since_unix_timestamp}&until={$until_unix_timestamp}”;

$json = file_get_contents($json_link);

$obj = json_decode($json, true, 512, JSON_BIGINT_AS_STRING);

// for those using PHP version older than 5.4, use this instead:
// $obj = json_decode(preg_replace(‘/(“\w+”):(\d+)/’, ‘\\1:”\\2″‘, $json), true);

echo ”

“;

// count the number of events
$event_count = count($obj[‘data’]);

for($x=0; $x<$event_count; $x++){
// facebook events will be here
}
echo”

“;
$start_date = date( ‘l, F d, Y’, strtotime($obj[‘data’][$x][‘start_time’]));

// in my case, I had to subtract 9 hours to sync the time set in facebook
$start_time = date(‘g:i a’, strtotime($obj[‘data’][$x][‘start_time’]) – 60 * 60 * 9);

$pic_big = isset($obj[‘data’][$x][‘cover’][‘source’]) ? $obj[‘data’][$x][‘cover’][‘source’] : “https://graph.facebook.com/{$fb_page_id}/picture?type=large”;

$eid = $obj[‘data’][$x][‘id’];
$name = $obj[‘data’][$x][‘name’];
$description = isset($obj[‘data’][$x][‘description’]) ? $obj[‘data’][$x][‘description’] : “”;

// place
$place_name = isset($obj[‘data’][$x][‘place’][‘name’]) ? $obj[‘data’][$x][‘place’][‘name’] : “”;
$city = isset($obj[‘data’][$x][‘place’][‘location’][‘city’]) ? $obj[‘data’][$x][‘place’][‘location’][‘city’] : “”;
$country = isset($obj[‘data’][$x][‘place’][‘location’][‘country’]) ? $obj[‘data’][$x][‘place’][‘location’][‘country’] : “”;
$zip = isset($obj[‘data’][$x][‘place’][‘location’][‘zip’]) ? $obj[‘data’][$x][‘place’][‘location’][‘zip’] : “”;

$location=””;

if($place_name && $city && $country && $zip){
$location=”{$place_name}, {$city}, {$country}, {$zip}”;
}else{
$location=”Location not set or event data is too old.”;
}echo ”
“; echo “”;
echo ““;
echo ”

“;
echo ”

“;

echo ”
“; echo “What:

“;
echo “{$name}

“;
echo ”

“;

echo ”
“; echo “When:

“;
echo “{$start_date} at {$start_time}

“;
echo ”

“;

echo ”
“; echo “Where:

“;
echo “{$location}

“;
echo ”

“;

echo ”
“; echo “Description:

“;
echo “{$description}

“;
echo ”

“;

echo ”
“; echo “Facebook Link:

“;
echo “”;
echo “View on Facebook“;
echo ”

“;
echo ”

“;
// get events for the past x years
$year_range = 1;

// automatically adjust date range
// human readable years
$since_date = date(‘Y-01-01’, strtotime(‘-‘ . $year_range . ‘ years’));
$until_date = date(‘Y-m-d’, strtotime(‘-1 day’));

// unix timestamp years
$since_unix_timestamp = strtotime($since_date);
$until_unix_timestamp = strtotime($until_date);

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 395 other followers

%d bloggers like this: