spring.social.facebook.appId=@facebook.app.id@
spring.social.facebook.appSecret=@facebook.app.secret@
+spring.thymeleaf.prefix=/thymeleaf/
+spring.thymeleaf.cache=false
+
logging.level.org.springframework.social=debug
logging.level.de.juplo.yourshouter=info
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Connect to Facebook</title>
- </head>
- <body>
- <h1>Connect to Facebook</h1>
- <form action="#" th:action="@{/connect/facebook}" method="POST">
- <div class="formInfo">
- <p>
- You aren't connected to Facebook yet.
- Click the button to connect with your Facebook account.
- </p>
- </div>
- <p><button type="submit">Connect to Facebook</button></p>
- </form>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Connect to Facebook</title>
- </head>
- <body>
- <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
- <hr />
- <h1>Connected to Facebook</h1>
- <p>
- You are now connected to your Facebook account.
- </p>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Home</title>
- </head>
- <body>
- <h1>Hello, <span th:text="${user.name}">Some User</span>!</h1>
- <ul>
- <li><a href="connect/facebookConnected.html" th:href="@{/connect/facebook.html}">Show connection-status</a></li>
- <li><a href="profile.html" th:href="@{/profile.html}">Show public profile-data</a></li>
- </ul>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Hello Facebook</title>
- </head>
- <body>
- <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
- <hr />
- <h1>Public available profile-data</h1>
- <ul>
- <li><strong>ID:</strong> <em th:text="${profile.id}">123456789</em></li>
- <li><strong>Name:</strong> <em th:text="${profile.name}">Kai Moritz</em></li>
- <li><strong>First Name:</strong> <em th:text="${profile.firstName}">Kai</em></li>
- <li><strong>Last Name:</strong> <em th:text="${profile.lastName}">Moritz</em></li>
- <li><strong>Gender:</strong> <em th:text="${profile.gender}">male</em></li>
- <li><strong>Verified:</strong> <em th:text="${profile.verified}">true</em></li>
- <li th:if="${profile.cover}"><strong>Cover:</strong> <img src="" th:src="${profile.cover.source}" alt="1234567" th:alt="${profile.cover.id}" /></li>
- </ul>
- </body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Connect to Facebook</title>
+ </head>
+ <body>
+ <h1>Connect to Facebook</h1>
+ <form action="#" th:action="@{/connect/facebook}" method="POST">
+ <div class="formInfo">
+ <p>
+ You aren't connected to Facebook yet.
+ Click the button to connect with your Facebook account.
+ </p>
+ </div>
+ <p><button type="submit">Connect to Facebook</button></p>
+ </form>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Connect to Facebook</title>
+ </head>
+ <body>
+ <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
+ <hr />
+ <h1>Connected to Facebook</h1>
+ <p>
+ You are now connected to your Facebook account.
+ </p>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Home</title>
+ </head>
+ <body>
+ <h1>Hello, <span th:text="${user.name}">Some User</span>!</h1>
+ <ul>
+ <li><a href="connect/facebookConnected.html" th:href="@{/connect/facebook.html}">Show connection-status</a></li>
+ <li><a href="profile.html" th:href="@{/profile.html}">Show public profile-data</a></li>
+ </ul>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Public Profile Data</title>
+ </head>
+ <body>
+ <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
+ <hr />
+ <h1>Public available profile-data</h1>
+ <ul>
+ <li><strong>ID:</strong> <em th:text="${profile.id}">123456789</em></li>
+ <li><strong>Name:</strong> <em th:text="${profile.name}">Kai Moritz</em></li>
+ <li><strong>First Name:</strong> <em th:text="${profile.firstName}">Kai</em></li>
+ <li><strong>Last Name:</strong> <em th:text="${profile.lastName}">Moritz</em></li>
+ <li><strong>Gender:</strong> <em th:text="${profile.gender}">male</em></li>
+ <li><strong>Verified:</strong> <em th:text="${profile.verified}">true</em></li>
+ <li th:if="${profile.cover}"><strong>Cover:</strong> <img src="" th:src="${profile.cover.source}" alt="1234567" th:alt="${profile.cover.id}" /></li>
+ </ul>
+ </body>
+</html>