function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Swamy P R NSwamy P R N 

how to call apex rest resource class from facebook

Hi Buddies,

I want to execute our Rest Resource class from Facebook. For this scenario how can i acheive?

i want to execute fb comments or share's by using javascript from fb to call  our rest resource class, is it possible?

Plz suggest me.
ShikibuShikibu
Create a restful api method:

https://developer.salesforce.com/page/Creating_REST_APIs_using_Apex_REST

Invoke the API you have created from some javascript.

If you want someone to actually write and test the code for you, you'll probably have to pay a developer.
Swamy P R NSwamy P R N
Hi Shikibu,

Before implementing  Rest Resource Method in Salesforce, i want to know that where can i implement the javascript code to call our salesforce RestResource URL from facebook. 

In salesforce we have apexclasses to interacting with any system like wise is anything on facebook?
we can implement our javascript code to call external url, but where can we implement that logic in fb?

Plz help me with ur valuable suggestion.
ShikibuShikibu
Sorry Swamy, I've not done any development for FB. You might get better results if you ask your question in a FB developer forum.
Swamy P R NSwamy P R N
Ok Shikibu,

Somebody to write and test my code,for this  please drop me the details on  rnswamy229@gmail.com