Google notice me :
You do not have permission to call getContacts (line 3)
Here is my code:
function importFullName(input) {
var CONTACT = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var contacts = ContactsApp.getContacts();
for (i=0; i<contacts.lenght; i++) {
var fullname = ContactApp.getContactsByID('i');
Logger.log(contacts[i].getFullName());
CONTACT.getRange(i+2,2).setValues(myContact);
}
}