Photos of shelter animals looking for homes often flood Facebook, but a recent post featuring two pups hugging actually helped save both the rescue dogs' lives.

On July 20, Angels Among Us Pet Rescue shared a photo of two dogs in their cage to Facebook, saying they would be euthanized if they weren't rescued by the end of the day. Fortunately, the heartbreaking photo of Kala, an 8-month old hound mix, wrapping her paws around Keira, a 1-year-old boxer mix, received an overflowing response from animal lovers.

"We're so scared in here," the post read. "She tells me to be brave too but I don't know if I can be. Can you see our faces Keira knows what will happen. You can see it in her eyes."

The shelter said it was facing its deadline and had "no time to spare" since it had no foster homes available. ABC News says the pair was rescued from a Georgia rural shelter by Angels Among Us Pet Rescue and Etowah Valley Humane Society just twelve hours before the photo was taken.

"The timing was great because I was talking to her ... and next thing you know she just came over and hugged the black dog," Malena Evans, an adoption coordinator at the humane society, told ABC.

The post received over 20,000 likes and 14,000 comments from people hoping to help find the pups new homes.

Just hours after it was posted, Kala and Keira gor their wish - they'd both found a safe new home...together.

"Exactly 2 hours and 6 minutes. That's how long it took this amazing community of animal lovers to come together to save the lives of two canine friends," the shelter wrote in an update that thanks the thousands who helped save their lives.