Skip to main content
gowtham k (self) a posé une question dans #Integration
HI 

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:-

https://developer.salesforce.com/forums?id=906F00000005KOwIAM

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';  

Thanks

Satheesh k
2 réponses
0/9000