Explicited that you need a personal pair of keys to use Facebook's example
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user