Quantcast
Viewing all articles
Browse latest Browse all 3510

Integrate SAP CRM to Facebook problems

Bob Varghese Jerry WangBob Varghese

Arjun Pawar


 

Hi experts,

 

I'm trying to integrate CRM to facebook, I've followed instructions in the following note:

1832462 - Master Note: How to Implement Social Media Channel API to Integrate with CRM Interaction Center


I've chosen to implement using 'PULL' approach.  I've followed SAP Note:

1859791 - CRM Social Media Integration in Interaction Center


I've followed the instructions up to step number 6, Define number ranges, without any problems.


In Step number 7, Schedule a periodic background job to retrieve social post data periodically, I need to know which method in implemented class inherited from CL_SOC_CLIENT_ABSTRACT class should be implemented and how to implement it. This is not clear in SAP note.


I returned back to Master note to complete implementing the channel API:

1- I've defined the social media channel for facebook.

2- In step 2, I've implemented the class which is inherited from CL_SOC_CLIENT_ABSTRACT. In this step, a lot of information about the methods and attributes of the class. Actually, I don't know what I should do with it. It's required from me to "fill the component NAME with only the constant attributes predefined, and fill the value retrieved from social network into component VALUE." I don't know the detailed steps to do that. Finally, I've assigned that class to the implemented channel in previous step.


3- After that I've tried to open the configured business role screen from Web UI, I found the screen is empty as follow:

Image may be NSFW.
Clik here to view.
empty role.png


I don't know why inbox and interaction center is not displayed although I've followed the note instructions step by step.



4- After that, I started to implement facebook API referring to note:

1832481 - How to implement Facebook API for CRM Interaction Center


5- I've followed step 1 and 2. In step 3, I've created the program and run it using facebook application ID, secret key and user token.

When running the program, exception is thrown with message: ""SSL handshake with graph.facebook.com:443 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102)#The peer's X.509 Certificate (chain) is untrusted##SapSSLSessionStart()==SSSLERR_PEER_CERT_UNTRUSTED""


Actually, I don't know why as I've imported the certificate in the trust list as stated and the HTTPS is enabled. I've attached trace file for that error.


Note: I've created facebook page and an application as stated in last note. I need a guide for query instruction for retrieving posts, reply for posts, and create posts using facebook graph API as I think I'll use that queries during developing ABAP class methods.


I need clarifications for the red highlighted sentences.


Thanks.

Mohamed.


Viewing all articles
Browse latest Browse all 3510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>