【发布时间】:2014-10-03 12:54:29
【问题描述】:
我正在尝试在创建联系人之前检查它是否已经存在。
下面是我的代码示例,
$contact_fields_index = array("name"=>"Paul Pierre", "mail"=>"paul@barnardmail.net");
$existingContacts = PodioContact::get_for_app( $PODIO_APPID , $contact_fields_index);
$existingContacts 始终为空,即使该联系人存在于工作区中。
我做错了什么?
【问题讨论】:
-
当您使用常规的“获取联系人”操作而不是仅限于特定应用程序的操作时会发生什么?详情:developers.podio.com/doc/contacts/get-contacts-22400