show service debug info
This commit is contained in:
parent
1ac3d15242
commit
79b2e671c2
@ -144,6 +144,9 @@ function omb_broadcast_profile($profile)
|
|||||||
$service = new StatusNet_OMB_Service_Consumer(
|
$service = new StatusNet_OMB_Service_Consumer(
|
||||||
array(OMB_ENDPOINT_UPDATEPROFILE => $rp->updateprofileurl),
|
array(OMB_ENDPOINT_UPDATEPROFILE => $rp->updateprofileurl),
|
||||||
$rp->uri);
|
$rp->uri);
|
||||||
|
|
||||||
|
common_debug('service = ' . print_r($service, true));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$service->setToken($rp->token, $rp->secret);
|
$service->setToken($rp->token, $rp->secret);
|
||||||
$service->updateProfile($omb_profile);
|
$service->updateProfile($omb_profile);
|
||||||
|
Loading…
Reference in New Issue
Block a user