Example Form reply facebook n twitter

Version 1
    This document was generated from CDN thread

    Created by: esraldi darmawanto on 25-07-2013 05:11:40 AM
    Hi all,

    Please help me.

    I have read social miner developer guide ebook.

    My social miner ip is 10.14.150.23 , we want integrated with PHP but i confused how to submit reply facebook or twitter

    Can u give the example?

    Facebook:

    URL: http://<server>:<serverport>/<webapp>/reply/facebook/comment

    what is the mean off <webapp>? what it is same with ccp-webapp?

    HTTP Method: POSTParameters:• socialContact: The Ref-URL of the SocialContact to which a Facebook replywill be posted• message: The text of the status message

    Twitter:

    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId>

    what is the mean off <objectId>? 

    thx before

    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: Tetyana Shmukler on 25-07-2013 10:13:13 AM
    Hi Esraldi,
    The URL example in doc is misleading.
    I will open a documentation bug : as you noticed, it is not clear what “<webapp>” means for all of SocialMiner Facebook and Twitter API(s).

    Please use:
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/comment<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/facebook/comment>
    Where ServerIP stands for SocialoMiner server IP or host name.
    This is POST REST call to submit a comment to the FB post. Each FB post is represented by a SocialContact in SocialMiner, so the payload for this POST should contain such SocailConatactRefURL
    <Comment>
    <socialContact>socialContactRefUrl</socialContact>
    <message>status text</message>
    </Comment>
    This will essentially create a FB reply to the FB post that represented by above SocialContact.
    With the response you’ll get the progressID that you can track status of this reply in SocialMiner (was it successfully posted to Facebook, or any errors, etc.)


    We will also clarify other components  of the URL(s) for Facebook and Twitter api(s) in our documentation.
    To answer your specific question, in :
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>
    objectId represents here the progressID – the same as above, explained for FB.

    Thank you,
    Tanya
    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, July 25, 2013 6:12 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: Example Form reply facebook n twitter

    esraldi darmawanto has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- Hi all,

    Please help me.

    I have read social miner developer guide ebook.

    My social miner ip is 10.14.150.23 , we want integrated with PHP but i confused how to submit reply facebook or twitter

    Can u give the example?

    Facebook:

    URL: http://<server>:<serverport>/<webapp>/reply/facebook/comment<http://%3cserver%3e:%3cserverport%3e/%3cwebapp%3e/reply/facebook/comment>

    what is the mean off <webapp>? what it is same with ccp-webapp?

    HTTP Method: POSTParameters:• socialContact: The Ref-URL of the SocialContact to which a Facebook replywill be posted• message: The text of the status message

    Twitter:

    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>

    what is the mean off <objectId>?

    thx before
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/17590537 or simply reply to this email.

    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: esraldi darmawanto on 25-07-2013 09:52:25 PM
    Tetyana Shmukler:
    Hi Esraldi,
    The URL example in doc is misleading.
    I will open a documentation bug : as you noticed, it is not clear what “<webapp>” means for all of SocialMiner Facebook and Twitter API(s).

    Please use:
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/comment<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/facebook/comment>
    Where ServerIP stands for SocialoMiner server IP or host name.
    This is POST REST call to submit a comment to the FB post. Each FB post is represented by a SocialContact in SocialMiner, so the payload for this POST should contain such SocailConatactRefURL
    <Comment>
    <socialContact>socialContactRefUrl</socialContact>
    <message>status text</message>
    </Comment>
    This will essentially create a FB reply to the FB post that represented by above SocialContact.
    With the response you’ll get the progressID that you can track status of this reply in SocialMiner (was it successfully posted to Facebook, or any errors, etc.)


    We will also clarify other components  of the URL(s) for Facebook and Twitter api(s) in our documentation.
    To answer your specific question, in :
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>
    objectId represents here the progressID – the same as above, explained for FB.

    Thank you,
    Tanya
    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, July 25, 2013 6:12 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: Example Form reply facebook n twitter

    esraldi darmawanto has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- Hi all,

    Please help me.

    I have read social miner developer guide ebook.

    My social miner ip is 10.14.150.23 , we want integrated with PHP but i confused how to submit reply facebook or twitter

    Can u give the example?

    Facebook:

    URL: http://<server>:<serverport>/<webapp>/reply/facebook/comment<http://%3cserver%3e:%3cserverport%3e/%3cwebapp%3e/reply/facebook/comment>

    what is the mean off <webapp>? what it is same with ccp-webapp?

    HTTP Method: POSTParameters:• socialContact: The Ref-URL of the SocialContact to which a Facebook replywill be posted• message: The text of the status message

    Twitter:

    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>

    what is the mean off <objectId>?

    thx before
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/17590537 or simply reply to this email.

    Thx for quick respon,

    i have try create form to post fb comment like this:

    <FORM NAME="myform" ACTION="http://10.14.150.23/ccp-webapp/ccp/reply/facebook/comment" METHOD="post">
    FB Comment : <BR>
        <input type="text" id='socialContact' value="18D07B111000014004D30D2C0A0E9617" name='socialContact' />
        <input type="text" id='message' type='text' name='message' />
        <INPUT TYPE="submit" NAME="button" Value="submit">
    </FORM>

    but when I submit, i get error
    <a href="http://tinypic.com?ref=292w6tg" target="_blank"><img src="http://i40.tinypic.com/292w6tg.png" border="0" alt="Image and video hosting by TinyPic"></a>




    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: Tetyana Shmukler on 26-07-2013 07:26:51 AM
    Hi Esraldi,
    SocialMiner does not support form post to post comment on Facebook. You would need to use a simple REST POST and not a form submission.
    You can try to use a RestClient tool or Curl to test it.
    Your REST POST call should look similar to below:
    ============================================================
    URL:
    http://10.86.141.221/ccp-webapp/ccp/reply/facebook/comment

    Headers:
    Content-Type: application/xml

    Request Body:
    <Comment>
    <socialContact>https://10.86.141.221/ccp-webapp/ccp/socialcontact/87B167DA1000013F0000016A0A568DDD</socialContact>
    <message>status text</message>
    </Comment>

    In response location you will get back the status URL that would look similar to below:
    Location               http://10.86.141.221/ccp-webapp/ccp/reply/facebook/1
    When you do REST GET using this URL, you’ll get the status of your comment back:
    <RequestProgress>
    <apiErrors/>
    <facebook>
    <postId>395056627282597_2009080</postId>
    </facebook>
    <progress>SUCCEEDED</progress>
    </RequestProgress>

    If any errors occurred, they would be listed in the response XML above.

    If it is very important for you  that SocialMiner supports form post for commenting on Facebook, please contact our product owner Emmanuel Badoo (ebadoo) ebadoo@cisco.com<mailto:ebadoo@cisco.com>.

    Thanks,
    Tanya

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, July 25, 2013 10:53 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi

    esraldi darmawanto has created a new message in the forum "Technical Discussion": --------------------------------------------------------------
    Tetyana Shmukler:
    Hi Esraldi,
    The URL example in doc is misleading.
    I will open a documentation bug : as you noticed, it is not clear what “<webapp>” means for all of SocialMiner Facebook and Twitter API(s).

    Please use:
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/comment<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/facebook/comment<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/facebook/comment%3chttp:/%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/facebook/comment>>
    Where ServerIP stands for SocialoMiner server IP or host name.
    This is POST REST call to submit a comment to the FB post. Each FB post is represented by a SocialContact in SocialMiner, so the payload for this POST should contain such SocailConatactRefURL
    <Comment>
    <socialContact>socialContactRefUrl</socialContact>
    <message>status text</message>
    </Comment>
    This will essentially create a FB reply to the FB post that represented by above SocialContact.
    With the response you’ll get the progressID that you can track status of this reply in SocialMiner (was it successfully posted to Facebook, or any errors, etc.)


    We will also clarify other components of the URL(s) for Facebook and Twitter api(s) in our documentation.
    To answer your specific question, in :
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId%3chttp:/%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>>
    objectId represents here the progressID – the same as above, explained for FB.

    Thank you,
    Tanya
    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, July 25, 2013 6:12 AM
    To: cdicuser@developer.cisco.com<mailto:cdicuser@developer.cisco.com>
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: Example Form reply facebook n twitter

    esraldi darmawanto has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- Hi all,

    Please help me.

    I have read social miner developer guide ebook.

    My social miner ip is 10.14.150.23 , we want integrated with PHP but i confused how to submit reply facebook or twitter

    Can u give the example?

    Facebook:

    URL: http://<server>:<serverport>/<webapp>/reply/facebook/comment<http://%3cserver%3e:%3cserverport%3e/%3cwebapp%3e/reply/facebook/comment<http://%3cserver%3e:%3cserverport%3e/%3cwebapp%3e/reply/facebook/comment%3chttp:/%3cserver%3e:%3cserverport%3e/%3cwebapp%3e/reply/facebook/comment>>

    what is the mean off <webapp>? what it is same with ccp-webapp?

    HTTP Method: POSTParameters:• socialContact: The Ref-URL of the SocialContact to which a Facebook replywill be posted• message: The text of the status message

    Twitter:

    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId%3chttp:/%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>>

    what is the mean off <objectId>?

    thx before
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/17590537 or simply reply to this email.

    Thx for quick respon,

    i have try create form to post fb comment like this:

    <FORM NAME="myform" ACTION="http://10.14.150.23/ccp-webapp/ccp/reply/facebook/comment" METHOD="post">
    FB Comment : <BR>
        <input type="text" id='socialContact' value="18D07B111000014004D30D2C0A0E9617" name='socialContact' />
        <input type="text" id='message' type='text' name='message' />
        <INPUT TYPE="submit" NAME="button" Value="submit">
    </FORM>

    but when I submit, i get error
    <a href="http://tinypic.com?ref=292w6tg" target="_blank"><img src="http://i40.tinypic.com/292w6tg.png" border="0" alt="Image and video hosting by TinyPic"></a>



    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/17629967 or simply reply to this email.

    Subject: RE: Example Form reply facebook n twitter
    Replied by: esraldi darmawanto on 01-08-2013 08:43:08 PM
    thx for reply sir,

    i have try use cURL but becouse i'am newbie, please correct my php code

    <?php
    $handle=curl_init();
    $myXML =
    "<Comment>
    <socialContact>http://10.14.150.23/ccp-webapp/ccp/socialcontact/3C9C751210000140053D0BB10A0E9617</socialContact>
    <message>status text</message>
    </Comment>
    ";

    curl_setopt_array(
        $handle,
        array(
            CURLOPT_URL=>'http://10.14.150.23/ccp-webapp/ccp/reply/facebook/comment',
            CURLOPT_POST=> true,
            CURLOPT_HEADER=>1,
            CURLOPT_HTTPHEADER=>'Content-Type:application/xml',
            CURLOPT_HTTPAUTH=>CURLAUTH_DIGEST,
            CURLOPT_USERPWD=>'myuser:mypassword',
            CURLOPT_POSTFIELDS=>$myXML,
            CURLOPT_RETURNTRANSFER=>true
        )
    );

    $response=curl_exec($handle);
    curl_close($handle);

    echo "<pre>";
    print_r($response);

    ?>

    my code is still return error, can u help me? please.

    thx before.

    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: Tetyana Shmukler on 02-08-2013 08:35:54 AM
    Hi Esraldi,
    I  do not think we are in the position to help you with php code. I am not an expert in it either.
    What jumps as a problem though, that you use a digest authentication, but should use basic authentication instead.
    To further troubleshoot the issue I would suggest to simply use Rest Client  (you can download a plugin POSTER  for FF, for example) and try to comment using it with all the information for the POST I provided you previously.
    I also assume that you can comment on FB post using just SocialMiner UI.
    Please confirm

    Thank you
    Tanya

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, August 01, 2013 9:43 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: RE: Example Form reply facebook n twitter

    esraldi darmawanto has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- thx for reply sir,

    i have try use cURL but becouse i'am newbie, please correct my php code

    <?php
    $handle=curl_init();
    $myXML =
    "<Comment>
    <socialContact>http://10.14.150.23/ccp-webapp/ccp/socialcontact/3C9C751210000140053D0BB10A0E9617</socialContact<http://10.14.150.23/ccp-webapp/ccp/socialcontact/3C9C751210000140053D0BB10A0E9617%3c/socialContact>>
    <message>status text</message>
    </Comment>
    ";

    curl_setopt_array(
        $handle,
        array(
            CURLOPT_URL=>'http://10.14.150.23/ccp-webapp/ccp/reply/facebook/comment',
            CURLOPT_POST=> true,
            CURLOPT_HEADER=>1,
            CURLOPT_HTTPHEADER=>'Content-Type:application/xml',
            CURLOPT_HTTPAUTH=>CURLAUTH_DIGEST,
            CURLOPT_USERPWD=>'myuser:mypassword',
            CURLOPT_POSTFIELDS=>$myXML,
            CURLOPT_RETURNTRANSFER=>true
        )
    );

    $response=curl_exec($handle);
    curl_close($handle);

    echo "<pre>";
    print_r($response);

    ?>

    my code is still return error, can u help me? please.

    thx before.
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/17879384 or simply reply to this email.

    Subject: RE: Example Form reply facebook n twitter
    Replied by: esraldi darmawanto on 26-08-2013 12:34:54 AM
    thx for reply,

    Facobook post comment with CURL was successfully
    but for twitter is still problem,
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId>

    what is the mean off <objectId>? it's like social contact?

    facebook we use metho POST but twitter use method GET, so how we can send the message?

    thx before.

    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: Tetyana Shmukler on 26-08-2013 09:30:59 AM
    Hello,
    We have updated our Dev Guide to better explain the usage for SocialMiner Twitter and Facebook Api(s).
    Please refer to the updated version of the doc : below is the link to the updated User guide and I have also copied related doc API below in case you cannot access the doc.
    Thanks,
    Tanya


    http://wwwin-eng.cisco.com/cgi-bin/edcs/edcs_info?EDCS-1257644

    Or direct one:
    http://wwwin-eng.cisco.com/Eng/CCBU/Samba/CCP/User_Documentation/CUSM_BK_S610376C_00_socialminerdeveloperguide10.pdf@12

    Facebook Reply
    The Facebook Reply API works similar to the Twitter Reply, on page 151 API.
    See also Facebook account authorization, on page 71.
    • Facebook Reply API commands, page 53
    Facebook Reply API commands
    Supported API commands for Facebook API Reply are:
    Related Topics
    GET, on page 53
    POST (comment), on page 54
    POST (like), on page 55
    GET (like), on page 56

    GET
    Gets the status of a Facebook Reply API call.
    URL: http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/<id>
    For more information about the elements in the URL, see API conventions, on page 1.
    In this instance, <id> represents the ProgressID being requested.
    HTTP Method: GET
    Cisco SocialMiner Developer Guide, Release 10
    53
    <RequestProgress>
    <progress>SUCCEEDED|FAILED|IN-PROGRESS</progress>
    Example XML
    Response: <httpResponseCode>responseCode</httpResponseCode>
    <httpResponseMessage>responseMessage</httpResponseMessage>
    <Facebook>
    <postId>facebookPostId</PostId>
    </Facebook>
    <ApiErrors>
    <ApiError>
    <ErrorType></ErrorType>
    <ErrorData></ErrorData>
    <ErrorMessage></ErrorMessage>
    </ApiError>
    </ApiErrors>
    </RequestProgress>

    Response
    Payload: • progress:
    ◦IN_PROGRESS if SocialMiner is waiting for a response from Facebook.
    ◦SUCCEEDED if the Facebook operation succeeded.
    ◦FAILED if the Facebook operation failed. Use httpResponseCode and
    httpResponseMessage to determine why the operation failed.
    • httpResponseCode: the response code received from Facebook
    • httpResponseMessage: the response message received from Facebook
    facebookReplyPostId: the Facebook Post ID of the comment
    • facebookReplyPostId: the Facebook Post ID of the comment
    • facebookErrorType: the Facebook error type returned from Facebook if the
    httpResponseCode is NOT_FOUND
    • facebookErrorMessage: the Facebook error message returned from Facebook if
    the httpResponseCode is NOT_FOUND

    POST (comment)
    Sends a status message (reply or comment) for a Facebook post.
    URL: http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/comment
    For more information about the elements in the URL, see API conventions, on page
    1.
    HTTP Method: POST
    Parameters:
    • socialContact: Is the Ref-URL of the SocialContact for the Facebook post (each
    Facebook post is represented by a different social contact in SocialMiner).
    • message: The text of the status message.
    Cisco SocialMiner Developer Guide, Release 10
    54
    Facebook Reply
    POST (comment)

    <Comment>
    Request Payload:
    <socialContact>socialContactRefUrl</socialContact>
    <message>status text</message>
    </Comment>
    If the fields in the initial request are valid, the response header location field contains
    the URL to poll for the status of the operation. Otherwise, SocialMiner will return an
    error. See HTTP Responses for error response.
    Response:
    If the operation succeeds, the polling URL will contain the following FacebookProgress
    XML.
    <RequestProgress>
    <progress>SUCCEEDED</progress>
    <ApiErrors>
    <ApiError>
    <ErrorType></ErrorType>
    <ErrorData></ErrorData>
    <ErrorMessage></ErrorMessage>
    </ApiError>
    </ApiErrors>
    </RequestProgress>
    If the operation fails, the httpResponseCode and httpResponseMessage fields will
    contain the code and message returned by Facebook.

    POST (like)
    Use this to 'like' a specific social contact on Facebook.
    URL: http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/like
    HTTP Method: POST
    Parameters:
    • socialContact: The Ref-URL of the SocialContact that would be liked.
    • likes: Like or Unlike a post. Boolean.
    <Like>
    Request Payload:
    <socialContact>socialContactRefUrl</socialContact>
    <likes>booleanValue</likes>
    </Like>
    If the fields in the initial request are valid, the response header location field contains
    the URL to poll for the status of the operation. Otherwise, SocialMiner will return
    an error. See HTTP Responses for error response.
    Response:
    If the operation succeeds, the polling URL will contain the following
    FacebookProgress XML.
    <RequestProgress>
    <progress>SUCCEEDED</progress>
    <ApiErrors>
    <ApiError>
    <ErrorType></ErrorType>
    <ErrorData></ErrorData>
    <ErrorMessage></ErrorMessage>
    </ApiError>
    Cisco SocialMiner Developer Guide, Release 10
    55
    Facebook Reply
    POST (like)
    </ApiErrors>
    </RequestProgress>

    GET (like)
    Use this to determine if the authorized user already likes a post on Facebook.
    URL: http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/facebook/like
    HTTP Method: GET
    Parameters: socialContact: Query Parameter. The Ref-URL of the SocialContact that would be liked.
    If the fields in the initial request are valid, the response header's location field contains
    the URL to poll for the status of the operation. Otherwise, SocialMiner will return an
    error. See HTTP Responses for error response.
    Response:
    If the operation succeeds, the polling URL will contain the following FacebookProgress
    XML.
    If the operation fails, the httpResponseCode and httpResponseMessage fields will contain
    the code and message returned by Facebook.
    like will contain a boolean value of true if the user already likes the post and false if the
    user does not already like the post
    <RequestProgress>
    <progress>SUCCEEDED|FAILED|IN-PROGRESS</progress>
    <ApiErrors>
    <ApiError>
    <ErrorType></ErrorType>
    <ErrorData></ErrorData>
    <ErrorMessage></ErrorMessage>
    </ApiError>
    </ApiErrors>
    <Facebook>
    <like>value</Like>
    </Facebook>
    </RequestProgress>
    Cisco SocialMiner Developer Guide, Release 10
    56
    Facebook Reply
    GET (like)
    REVIEW DRAFT - CISCO CONFIDENTIAL





    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Monday, August 26, 2013 1:35 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from esraldi darmawanto in SocialMiner - Technical Discussion: RE: Example Form reply facebook n twitter

    esraldi darmawanto has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- thx for reply,

    Facobook post comment with CURL was successfully
    but for twitter is still problem,
    http://<ServerIP>:<Port>/ccp-webapp/ccp/reply/twitter/<objectId<http://%3cServerIP%3e:%3cPort%3e/ccp-webapp/ccp/reply/twitter/%3cobjectId>>

    what is the mean off <objectId>? it's like social contact?

    facebook we use metho POST but twitter use method GET, so how we can send the message?

    thx before.
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/18602558 or simply reply to this email.

    Subject: RE: Example Form reply facebook n twitter
    Replied by: esraldi darmawanto on 04-09-2013 08:40:18 PM
    i can't download the updated User guide in
    http://wwwin-eng.cisco.com/cgi-bin/edcs/edcs_info?EDCS-1257644

    Or direct one:
    http://wwwin-eng.cisco.com/Eng/CCBU/Samba/CCP/User_Documentation/CUSM_BK_S610376C_00_socialminerdeveloperguide10.pdf@12

    but can you explain to me step by step to reply twitter, because i tried with rest client is still failed.

    method : POST
    URL : http://10.14.150.23/ccp-webapp/ccp/reply/twitter/statuses/retweet
    header :
    Content-Type:application/xml

    body :

    <Status>
    <username>PLNindonesia</username>
    <message>Tweet text</message>
    </Status>

    please help'me how to reply the post of twitter in my fanpage.

    Subject: RE: New Message from esraldi darmawanto in SocialMiner - Technical Discussi
    Replied by: David Lender on 05-09-2013 09:44:07 AM
    SocialMiner 10.0 is not yet released.  The links you posted are for internal use only.