let me know if u got any solu
I’m not 100% what you are trying to do. It does not sound not possible with the current version.
You can try the development branch. https://github.com/michaeluno/Fetch-Tweets/archive/2.4.0b.zip
Then try this:
1. Set the get parameter to true or 1 in the shortcode or the PHP function.
[fetch_tweets get="1"]
fetchTweets( array( 'get' => true );
2. Then, set your argument in the URL query like
http://yoursite.com/?screen_name=miunosoft
Very helpful!
I’ll give this a try.
At first glance this makes me wonder what happens to the other Rule settings like Item Count Exclude Replies etc… I’ll hack around this weekend.
Thanks
Kevin
BTW the donate button on GitHub (en.michaeluno.jp/donate) shows me this in Chrome browser http://screencast.com/t/gtjZKsKpy
miunosoft,
Just installed the dev branch and had some rather strange results. http://goo.gl/Q0doKw
Where do we set the number of tweets to show when using the query string option?
All I really need is the ability to insert a shortcode (from another plugin) into the the Screen Name field in the Add Rule by Screen Name settings. eg [urlparam param=”screen_name” default=”i001962″ /]
screenshot http://goo.gl/U8y6gl
FWIW I found the default setting for number of tweets.
Where do we set the number of tweets to show when using the query string option?
You could do something like this.
http://your-site.domain/your-page/?screen_name=miunosoft&count=2
Though it did not let other arguments set with the get argument in the shortcode/php function. So I’ve updated the development version to merge with other set arguments.
Now you can do something line this.
Shortcode:
[fetch_tweets get="1" count="2" ]
PHP function:
fetchTweets( array( 'count' => 2, 'get' => true ) );
Then access the site like this.
http://your-site.domain/your-page/?screen_name=miunosoft
Regarding the donate button, thanks for the heads up.
I’ve realized that it was hard to set default values in the shortcode or the fetchTweets() function with the get argument. So I’ve updated the development branch.
Now you can do something like this.
[fetch_tweets get="1" screen_name="miunosoft" ]
fetchTweets( array( 'get' => true, 'screen_name' => 'miunosoft' ) );
Then access the site with additional arguments by overriding the set argument values.
http://your-site.domain/your-page/?screen_name=different_screen_name
You need to use v2.4.0b04 or above for this functionality.
This is working nicely. Thanks!
What’s not so easy to figure out is how to style to the fetch-tweets container with in a page. Styling the Tweets you have made quite easy thanks to your exposing the css in the free templates.
What I (css noob) am struggling with is how to shrink the width of the post and bring it’s z-index up so it’s floats on top of other content pulled into the page.
http://goo.gl/mmGhTW
While this isn’t an issue with your plug-in per se I thought I’d ask if you had any pointers towards an answer.
Thanks,
Kevin
Glad to hear it works for you!
Regarding the question of CSS, can you post a new topic about it? I’ll answer there. Let’s keep one question per topic. That way, future visitors can find their information easily.
Thank you!