Only link is visible while integrating twitter feed in a website? - twitter

Here is the code i used given by the Twitter developer widget
<a class="twitter-timeline" href="https://twitter.com/PineappleTimes" data-widget-
id="274533936351289345">Tweets by #PineappleTimes</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)
[0];if(!d.getElementById(id))
{js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Found my answer atlast. While previewing the code in dreamweaver the tweets won't be visible, only a link will be visible, but after uploding the code into server, it worked.

Related

iFrame block not showing up in the iPhone

I have a hybrid mobile app in Mendix. In one page of the app, I am displaying some data with text and also video or website URL embedded.
<iframe id="quizWidget-454107" width="100%" height="900px" frameborder="0" border="none" src="https://www.qzzr.com/widget/quiz/fi9xdWl6emVzLzQ1NDEwNw"></iframe>
Here we are embedding this website, and we also embed youtube URL here.
The issue is, this embedded URL(video/website) shows up in a section on Android phone but not in iPhone. May be Safari does not render iFrame correctly.
Any idea what we can replace iFrame with?
please see an answer to a related question here. I believe You need to add <meta> tags to your index.html page to allow the app to load external content, preferable using a Content Security Policy (CSP).

How to like a Facebook page through xcode?

I want to like a page on Facebook (for example https://www.facebook.com/pages/iPhone/109336685751749?fref=ts).
This is the iPhone page on Facebook.
How can I do it through xCode.
Download sample from here: https://github.com/brow/FacebookLikeView
And then add in your app. It will like your link when you made small changes in main class of sample.

facebook mobile app request dialog with flex issue

I am making a webviewstage in flex mobile to display the dialog app request url of facebook , but when I am writing in the text input to autocomplete my friends, it never load anyone... what is happening...? theres another way to invite friends to my app in flex mobile?... I' am working with IOS.
Thanks
I have been in the similar problem 2 weeks ago, but I managed to create a native extension , which is an iOS library you embed into your flex project, it displays the FB dialog with app request with the list of your suggested friends, you can do the same, if you need more help, let me know.

Twitter button replacing every link on the page in Internet Explorer 8

Twitter button is replacing every link on the page in Internet Explorer 8
I just copied and pasted the code from Twitter.
It only does it in IE8, however, in other browsers it shows the button count as #undefined, although it works.
It must be a conflict with other javascript files. I just wanted to see if someone else has had this problem before.
Thanks
Sadly it's a Twitter Issue you can follow the updates here: https://dev.twitter.com/issues/486

How to use share content to specific friend's wall on Facebook from an iOS app

It's straightforward to use Facebook the Javascript SDK and FB.ui to trigger the "feed" dialog to share on your wall.
However, this shares on your wall with everyone. I'm looking for a way to share on a specific friend's wall and not finding any answers in the Facebook dev documentation.
I was about to give up but them saw this article written June 2011 which shows FB sharing UI that shows that you can change the scope of your sharing:
I can't find any information that shows how to trigger this dialog that exposes those options. I've used this sample code from FB dev docs:
<html xmlns:fb="http://www.facebook.com/2008/fbml">
<body>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<div id="fb-root"></div>
<script>
// assume we are already logged in
FB.init({appId: '1234567890', xfbml: true, cookie: true});
FB.ui({
method: 'feed',
link: 'https://developers.facebook.com/docs/reference/dialogs/'
});
</script>
</body>
</html>
However, this bring up a dialog that is essentially like the following. Notice no scoping options like the earlier screenshot:
Note: Even though I'm asking about the Javascript SDK and showing HTML, I ultimately I want to use the Facebook iOS SDK to share a link from my iOS app to an individual friend of the user that's logged into my app (while letting that user select which friend to share to).
Our feed dialogs do not allow posting to another user's wall. To do this, I would suggest using our send dialog which allows the developer to specify the recipient user (end user can add additional users once the dialog is rendered).
It can be rendered via the graph api as such:
https://www.facebook.com/dialog/send?app_id=123050457758183&
name=People%20Argue%20Just%20to%20Win&
link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&
redirect_uri=http://www.example.com/response
As far as I know, the only place a dialog like that shows up is via the sharer.php endpoint, e.g. https://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.stackoverflow.com. That endpoint appears to have been deprecated (there's a Quora thread about it), but it's still functional for now.
It's possible the sharer dialog used to be available as a UI method, but as far as I can tell that's no longer the case, so opening up sharer.php in your app is the only way to show those scoping options. It's clunky in mobile browsers, however - your custom friend picker followed by a feed dialog is arguably a more attractive solution.

Resources