Hello everyone,
I am trying to implement the Facebook API in CRM IC. To do so I followed SAP note 1832481. First, I downloaded a HTTPS certificate from facebook and uploaded it in transaction STRUST. Second, I implemented the API as described in the SAP note:
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = 'https://graph.facebook.com/facebook/picture?redirect=false'
proxy_host = <HOST>
proxy_service = <PORT>
ssl_id = 'ANONYM'
IMPORTING
client = lr_client.
CALL METHOD lr_client->request->set_method( 'GET' ).
CALL METHOD lr_client->send.
I am not sure, if I have to use the HTTP or HTTPS port. So I tried both. Nevertheless, in both cases the HTTP(S) connection fails.
ICM logging, while using our HTTP port:
[Thr 6372] *** ERROR => illegal path specified {000c0fc9} [http_plg.c 4815]
[Thr 6380] *** ERROR => IcmConnInitClientSSL: Proxy connection to graph.facebook.com:443 failed (400:Bad Request) {00090fc8} [icxxco
ICM logging, while using our HTTP port:
[Thr 6360] *** ERROR => IcmConnInitServerSSL: SapSSLSessionStart returned (-25): SSSLERR_NO_SSL3_REQUEST [icxxconn.c 1730]
[Thr 6352] *** ERROR => IcmConnProxyHandshake: proxy read(5000) failed(rc=-6) [icxxioutil.c 230]
[Thr 6352] *** ERROR => IcmConnInitClientSSL: Proxy connection to graph.facebook.com:443 failed (0:) {00090fdf} [icxxconn.c 1834]
I thought that using SSL implies HTTPS?
Can anyone help? Thanks in advance!