You need to sign in to do that
Don't have an account?
Chris Husted
Incorporate Twitter Feed into Contacts Layout Using Custom Field
We're looking to incorporate a twitter feed into the Contacts layout that uses a custom field in the Contacts layout (i.e. @contactTwitter Handle) and populates any tweets that individual may have created.
I've created a widget in Twitter and then copied the underlying html into a custom VF pag that brings in my own twitter handle and a colleagues. The question is how do you customize the code to do a lookup on your custom contact field to locate that contact's twitter handle?
Here is a copy of my current code:
<apex:page > <a class="twitter-timeline" href="https://twitter.com/search?q=from%3Atwitterhandle1+OR+from%3Atwitterhandle2" data-widget-id="520320013941481472">Tweets about "from:Twitter_user_1 OR from:Twitter_user_2"</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </apex:page>
Is anyone familar with how we would go about configuring this type of integration?
Thank you for any suggestions.
I've created a widget in Twitter and then copied the underlying html into a custom VF pag that brings in my own twitter handle and a colleagues. The question is how do you customize the code to do a lookup on your custom contact field to locate that contact's twitter handle?
Here is a copy of my current code:
<apex:page > <a class="twitter-timeline" href="https://twitter.com/search?q=from%3Atwitterhandle1+OR+from%3Atwitterhandle2" data-widget-id="520320013941481472">Tweets about "from:Twitter_user_1 OR from:Twitter_user_2"</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </apex:page>
Is anyone familar with how we would go about configuring this type of integration?
Thank you for any suggestions.
https://help.salesforce.com/HTViewHelpDoc?id=adding_fields.htm