<commit_before>package com.example.suhasamireddy.turtlemap;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.facebook.FacebookSdk;
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        FacebookSdk.sdkInitialize(getApplicationContext());
        
        JSONObject firstPageEvents = getJSONEventsForPage("335859529840593");
        System.out.println(firstPageEvents.getJSONArray());
    }
    public void startMapActivity(View view){
        Intent intent = new Intent(this,MapsActivity.class);//Will have some parameters to start a new activity
        startActivity(intent);
    }
    
    public JSONObject getJSONEventsForPage(String pageID){
    
		/* make the API call */
		new GraphRequest(
			AccessToken.getCurrentAccessToken(),
			pageID,
			null,<commit_msg>Printing a more correct thing now<commit_after>package com.example.suhasamireddy.turtlemap;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.facebook.FacebookSdk;
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        FacebookSdk.sdkInitialize(getApplicationContext());
        
        JSONObject firstPageEvents = getJSONEventsForPage("335859529840593");
        System.out.println(firstPageEvents);
    }
    public void startMapActivity(View view){
        Intent intent = new Intent(this,MapsActivity.class);//Will have some parameters to start a new activity
        startActivity(intent);
    }
    
    public JSONObject getJSONEventsForPage(String pageID){
    
		/* make the API call */
		new GraphRequest(
			AccessToken.getCurrentAccessToken(),
			pageID,
			null,
{'fraction_non_alphanumeric': 0.08321308321308321, 'fraction_numerical': 0.015392015392015393, 'mean_word_length': 3.9406175771971497, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4673398', 'n_tokens_mistral': 599, 'n_tokens_neox': 556, 'n_words': 122}