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
Geetha ReddyGeetha Reddy 

very urgent issue.

Hi,

How can we use this code in visualforce page

<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 30,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: true,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('Venkatareddymv').start();
</script>

vriavmvriavm

Can you explain what you are trying to do here.

Its hard to understand from this....

JitendraJitendra

I am not able to actualy understand your requirement. However just paste your code inside <apex:page> tag. It will execute the Javascript.

 

S91084S91084

This works

 

<apex:page >
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 30,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: true,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('Venkatareddymv').start();
</script>
</apex:page>

 

Geetha ReddyGeetha Reddy

HI 

Thanks for your reply.

 

 

Actually what i am trying to do is :

 

  1. When a user have twitter account, then tweets has convert to Salesforce Chatter 
  2. We can reply to that post from Salesforce
  3. Finally all tweets of perticular user has to be shown in chatter.