Created
November 21, 2017 19:54
-
-
Save ziginsider/466ac71ecb1eeec6f218fa3054089f71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity { | |
... | |
Button postsButton; | |
... | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
... | |
postsButton = (Button) findViewById(R.id.posts_button); | |
postsButton.setVisibility(View.GONE); | |
... | |
loginButton.setReadPermissions(Arrays.asList("public_profile", | |
"email", | |
"user_location", | |
"user_birthday", | |
"user_friends", | |
"user_posts")); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment