facebook/twitter: fix redirects, page_url is now a binary.
(cherry picked from commit c57993bdf2912a5f7fd1efa988fce35e838a5e25)
core: show a stack trace when a periodic task crashes.
(cherry picked from commit 493d0a1d8ed6dd1b651ac31ee98ed25a89d70354)