Social media helps connect us to friends both nearby and far away and create and share pertinent information with others, amongst many other purposes. But the latest benefit of social networking is a campaign to find missing persons.

That's exactly how Todd Tweedy, a St. Paul, Minn. man who went missing after proclaiming thoughts of suicide via Facebook and battling depression, was found Thursday.

Two days after he went missing, 47-year-old Tweedy was found in a hotel in Wisconsin, according to a report from NBC News affiliate KARE11. Police were called in response to an unresponsive man in the lobby of the hotel while friends and family commenced a nationwide search on Twitter and Facebook.

Tweedy is currently at Regions Hospital but his condition is unclear.

On Tuesday, Tweedy, a St. Paul marketing consultant, posted a suicidal message to his Facebook account which said Goodbye to all of his friends and family.

One illness I've never been able to defeat is my own depression. I have to say goodbye now. I wish each of you a wonderful New Year! Tweedy wrote on Tuesday night around 6 p.m.

The message, along with the fact that Tweedy was suffering from depression, prompted a search from loved ones carried out through social media. A Twitter hashtag, #FindTodd, was created as a part of the social media effort to locate the missing man.

On Thursday, however, the Minnesota Department of Public Safety cancelled its missing person alet for Tweedy after he was found at a Super 8 motel in Baldwin, Wis.

Police were alerted to an unresponsive man which was determined to be Tweedy shortly after. Baldwin Police Chief James Widiker said that Tweedy checked into the motel on Tuesday and had been staying there since.

Tweedy's family released a statement via Facebook on Thursday, which appears to have been deleted, reading, Thank you for your prayers and support. We are grateful that treatment is available, and we hope that this can help give others the confidence to ask for help. Treatment works.

According to his Twitter account, Todd Tweedy describes himself as Author of upcoming Wiley Publishing book - Facebook Marketing Secrets.  Moderator #Socialize#SMOC#AFEXPO. SEO. Skate skier. Dad. I'm in Saint Paul, MN.