Explicited that you need a personal pair of keys to use Facebook's example

This commit is contained in:
Pablo Fernandez committed 2011-01-09 21:37:44 -03:00
1 parent 1f055d7eeb
commit 8e23e81c57
1 file changed
+5 -2
@@ -16,10 +16,13 @@ public class FacebookExample
public static void main(String[] args)
{
// Replace these with your own api key and secret
String apiKey = "your_api_key";
String apiSecret = "your_api_secret";
OAuthService service = new ServiceBuilder()
.provider(FacebookApi.class)
.apiKey("anonymous")
.apiSecret("anonymous")
.apiKey(apiKey)
.apiSecret(apiSecret)
.callback("http://www.example.com/oauth_callback/")
.build();
Scanner in = new Scanner(System.in);