on 01-24-2014 05: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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: