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
satheesh k 18satheesh k 18 

integration with twitter


Please help me to integrate from saleforce to twitter using Rest API.
I have created Twitter app and ganerated consumer key and secretkey.

I have follow the below link:-

1) In the we have class please explain the what is "code" here .
2) PageReference pg = new PageReference('https:// Please_PUT HERE TwitterAuthorizeURL ?response_type=code&client_id=Put client id&redirect_uri=YOUR CALL BACK URL') ;
tell me how to replace the bold values, please give me clarity.
same thing for below line :-
String tokenuri = 'https://PLEASE PRovide api hit url of twitter?grant_type=authorization_code&code='+code+'&redirect_uri=YOUR CALL BACK URL';  

Satheesh k

Below link is a nice blog to get you started:

Let me know if this helps
Ishan Goyal 16Ishan Goyal 16

Well one way is to do it manually by coding, making changes and performing some tasks like Syncing contact data, manage deal flow, automate in flow and out flow of messages and many more…
Other way is you can buy some 3rd party Salesforce Social media Messaging app like Communicat-O.
Communicat-O is a very good app and very economical for any company. It cost $15/company/month.
So, I will say, using Communicat-O is the best way to integrate Twitter into Salesforce. It not only integrates twitter with Salesforce but it also integrates other social media sites too like Facebook, Instagram, Youtube, etc and many multichannels too like Whastapp, WeChat, Hike, etc.
It basically manage chats with your clients directly from Salesforce Communicat-O is a chat platform that allows businesses to replace insecure client emails with safe and compliant chat. Manage your own branded chats with your clients directly from Salesforce.
There are many more advantages of having it in your Company.


Communicat-O website -

I would recommend that you should go and try taking Demo of Communicat-O to know its advantages.