       subtitle: podcast.description,
       default_action: %{
         type: "web_url",
-        url: host <> podcast_frontend_path(conn, :show, podcast),
+        url: host <> podcast_frontend_path(Pan.Endpoint, :show, podcast),
         messenger_extensions: true,
         webview_height_ratio: "tall",
-        fallback_url: host <> podcast_frontend_path(conn, :show, podcast)
+        fallback_url: host <> podcast_frontend_path(Pan.Endpoint, :show, podcast)
       },
       buttons: [
         %{
           type: "web_url",
-          url: host <> podcast_frontend_path(conn, :show, podcast),
+          url: host <> podcast_frontend_path(Pan.Endpoint, :show, podcast),
           title: "👉 Panoptikum"
         },
         %{

    |> send_resp(200, "ok")
  end

  defp respond_to_message(conn, message, sender_id) do
    data = %{
      recipient: %{
        id: sender_id
      },
      message: message_response(conn, podcasts_from_query(message))
    }
    |> Poison.encode!


        },
        %{
          type: "web_url",
          url: host <> episode_frontend_path(Pan.Endpoint, :player, episode),
          messenger_extensions: true,
          webview_height_ratio: "tall",
          title: "🎧 Latest episode"
