Skip to content

Commit 1f8b737

Browse files
committed
Update TwitterExample.java
Changed the protected resource URL to a secure URL now that Twitter always require HTTPS
1 parent f70c628 commit 1f8b737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scribe/examples/TwitterExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class TwitterExample
1111
{
12-
private static final String PROTECTED_RESOURCE_URL = "http://api.twitter.com/1.1/account/verify_credentials.json";
12+
private static final String PROTECTED_RESOURCE_URL = "https://api.twitter.com/1.1/account/verify_credentials.json";
1313

1414
public static void main(String[] args)
1515
{

0 commit comments

Comments
 (0)