Widgets Twitter on my google site - twitter

Please, i have two questions: (i have added the widget twitter to my google site)
1- Is it possible to change the color theme (to a color other than the white and black) ? And How ?
2-I have added the frsilicon time line to my page as like here : Any way to get widget-id for twitter widget from Twitter url?
My question: is it possible to add more than one time line in the same widget ?
i'd like time lines of frsilicon and appleNews in the same widget..
Thanks a lot.
Best Regards.

Related

Content to share in Facebook is empty [duplicate]

I could set custom picture and caption for link. Now it is impossible for v2.9. Is there some kind of workaround without specifying og: tags.
When using Facebook Graph v2.8, you could post a link and display a custom image and not the "og:image".
This was done by adding the picture parameter to the hook.
https://graph.facebook.com/v2.9/me/feed?link=https%3A%2F%2Fwww.google.com%2F&picture=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtntOCGkgt98%2Fmaxresdefault.jpg&name=test&message=this%20is%20a%20test&access_token=**********
The graph API is at 2.9 and as per the documentations this is still supposed to work Facebook API doc
However, it keeps getting overridden by the scraped image. Is anyone else experiencing this problem or have a workaround.? Facebook API Explorer
picture, name, caption, thumbnail, description are all set to be deprecated.
https://developers.facebook.com/docs/apps/changelog#v2_9_90_day_deprecations
You can go ahead and use Open Graph for posting images with custom description and title.
You can get an insight of the same from this link -> https://developers.facebook.com/docs/sharing/webmasters?hc_location=ufi

Twitter widget height issue, I can't make it the size I need, anybody know a work around?

I like many others are not very happy with twitter still for changing their widget support. At the moment I'm trying to fit in the widget they provide to a site I'm working on. I'm trying to set the height to 150px, that's the size it needs to be to fit in the spot where the old one was. I've tried over writing the inline-styles but no luck and I've asked the twitterAPI twitter account with no answer as of yet.
Has anybody found a work around for this?
What widget are you talking about ? A thing from the twitter API like Twitter Cards, Embedded Tweets, Tweet Button, Follow ? Or is it a wordpress widget ?

Can I change the twitter widget search query dynamclly without stating it in the widget settings page?

I want to embed a twitter widget inside my web-app Using the widget API.
I want to know if I can change the query string inside the embed code without the need to actually change it on the widget settings page. This way I can use the same widget for multiple search queries according to the topic of the page the user is currently at, without the need to create a new widget for each one.
As anyone tried something like this?
Does this on any way violate the terms of service of Twitter?
According to twitter, you can not :(
https://twittercommunity.com/t/change-search-query-from-program/20435

How to make inline LabelFields

I'm working in a Blackberry app (OS 5.0) and need to show recent tweets of the user.
I'm able to get the data from Twitter's end. Now after parsing the entities (hashtags, urls, user-mentions etc), I need to display them with separate formatting (color, bold etc). So I'm using different LabelFields for different parts of the tweet.
But LabelFields are by default block elements. How do I put those LabelFields inline, so that it looks like how it is shown in Twitter?
like this:
Others have suggested RichTextField but you'd have to write your own text filter to colour the syntax - it's going to be a lot of effort. If having the clickable links inline is a must then personally I'd use a BrowserField but that would mean your logic would have to output a full screens worth of tweets into html (screens don't like having more than one browserfield - it's doable with more than one but there's some hacks) and manage the click events - more complications.
Alternatively you could do something like this: http://devblog.blackberry.com/2009/10/how-to-use-table-view-layout/ You wouldn't have clickable regions within the text body but it'd still be using native fields instead of 'cheating' with markup, probably the best way.
I've found that there's a component in Blackberry SDK called ActiveRichTextField which automatically scans its contents and parses links making them focusable and clickable. Furthur it'll also parse entities if Twitter app is installed in that device. For now it solves my problem. Thanks guys.

the right way to add twitter

What is the best and efficient way to add twitter to a website?
There are some scripts in the web with iframes and others don't have a caching/streaming solution (what if twitter is temp. down...). So how should I add tweets to my website the right way?
By the way I just need the last x tweets and the "x minutes ago" (I want to make a custom style).
Thanks!
How about the widget that twitter provides for this very purpose? You can customize it right there on their page, then just copy the code, and paste it into your web page. Then you're ready to go.
No PHP required -- this is all javascript/html. You don't need caching -- if twitter is down, the widget will show a message to that effect. It'll be back up at some point, and your tweets will be shown again.
EDIT: The widget twitter provides has a header and footer, and you said you don't want to show those...
I used Safari's "Web Inspector" to look at the markup that is generated by the twitter widget (Firefox's FireBug would have worked just as well for this purpose). It looks like the header area and footer area use the css classes twtr-hd and twtr-ft respectively.
So you could just add a stylesheet rule to your page to hide those areas. Something like this:
.twtr-hd, .twtr-ft {
display:none !important;
}

Resources