how would i link my twitter acount to these notifications? - javascript

ok so i want to try and link my twitter account up with these notifications so that very time i post a tweet that on my website this notification automatically updates and sends a notification to my website users saying exactly what i said in the tweet how can i accomplish this? by the way when i say notification i mean as in a live update to my website!:
this is the notifications:
http://www.thorbis.com/test/
and this is my twitter widget:
<a class="twitter-timeline" href="https://twitter.com/Thorbis" data-widget-id="325004213753085953">Tweets by #Thorbis</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>
is there an efficient way to do this properly?

Related

Get FB user's profile image- without FB login (like Pinterest on their login button)

Pinterest displays your FB photo on their login/register button before you login/authorize FB. How is that possible? There doesn't seem to be a way to do this with "Check Login Status" or any other feature of their JS SDK.
Maybe here can be some useful material https://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus
:)

Link facebook share button to FB.ui()

I'm working with Facebook website integration and what to show a customized Facebook share dialog when clicking the Facebook delivered share button.
So i basically want a Facebook share button to call a JavaScript invocing the FB.ui() onclick instead of showing the stock dialog.
Is this possible?
Feed and share Dialogs
I think this question also have make by other before this.. check it Run Twitter and Facebook Share Button Code After ListCtrl Update

Open Graph Built-in Like vs. Like Social Plug-in for mobile web apps

I have a mobile app created using the javascript sdk, I would my user to be able to like posts, on the news feed. does anyone know how to achieve this?
There is nothing that prevents you from inserting multiple Like buttons on the same page.
Provided the first post leads to https://github.com/ and the second one to https://stackoverflow.com/ the Like buttons look like this:
<div class="fb-like" data-href="https://github.com/" data-width="450"></div>
<div class="fb-like" data-href="https://stackoverflow.com/" data-width="450"></div>
When the user clicks the like button, it appears on their Facebook page.
Note that the Likes should have links to pages that can be accessed by Facebook. Of course you can use your own pages.
More info: https://developers.facebook.com/docs/reference/plugins/like/

How to add the snap to the facebook status from a 3rd party app

I am not able add the thumbnail in the facebook update, using javascrit. But I dont know how to add the snap or add thumbnil, the facebook bot is not picking any pic fro the app, its a ruby on rails app actually.
I am using simple technique I have not created any app or no api key and such things.
I how do I get the thumbnils ?
Kindly help me
I'm not quite sure if I understand the question... You have a Rails app and a "Like" button and when you press the like button there is no thumbnail of the web page in your facebook status?
If that's the case you shoud take a look to the Open Graph Protocol: http://developers.facebook.com/docs/opengraph/
You must use some tags in your page to provide Facebook with information about your website and one of the tags is for the image:
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>

Add friends Facebook profile page to jQuery UI dialog

I getting a link to a friends profile page using the Facebook JavaScript API. I now am trying to add it to a iframe in a jQuery UI dialog. I have:
$('<iframe src="https://www.facebook.com/profile.php?id=505818552"><p></p></iframe>').dialog();
However this displays a Facebook logo with a 'go to facebook' link in the jQuery dialog. I tried using load(url) before dialog() but it didn't work because of cross-domains.
I was wondering if Facebook disables this kind of thing?
Is there a way of getting it to open in a jQuery dialog?
We do not allow this. Instead, please create a Facebook App and get the user 505818552 to authorize your App.
Then you will be able to pull that user's friends list by querying
https://graph.facebook.com/505818552/friends?access_token=USER_ACCESS_TOKEN
Yes, FB disables being included in an iframe as seen in this live demo.

Categories

Resources