Forum

Support is provided free and on a “best endeavours” basis. This is usually daylight hours, UK time, Monday to Friday.
At the time of this screen being refreshed it was Tuesday 12:14am in the UK.

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
AuthorTopic: Shortcode for Twitter Simple Data
Erik
Newbie
Posts: 2
Post Shortcode for Twitter Simple Data
on: November 29, 2011, 17:26

Hi David-

I'm trying to use the shortcodes to display the content for the Twitter Simple Data Plugin. However, I can't get more than one parameter to be displayed.

For example, the following displays correctly:
[twitter user=erikeliason data=name]

The username is displayed.

However, when I add a parameter they result is 'Array' on the front end. For example:

[twitter user=erikeliason data=name data=followers]
That only displays 1327 (name is not displayed).

[twitter user=erikeliason data=name&followers]
That displays Erik Eliason (followers not displayed)

[twitter user=erikeliason data=name,followers]
That displays Array.

Any help would be much appreciated.

Thanks!
Erik

David-
Artiss
Administrator
Posts: 382
Post Re: Shortcode for Twitter Simple Data
on: November 29, 2011, 20:07

Erik,

I'm working on a brand new version of the plugin - hopefully getting it to the testing stage this week. This will include some much improved instructions.

If you'd like to help beta test it, let me know.

David.

Erik
Newbie
Posts: 2
Post Re: Shortcode for Twitter Simple Data
on: November 29, 2011, 20:10

Sure- include me in the beta. A little bit about what I'm trying to do: my website, SocialEarth.org has over 130 contributors and we are trying to create a page like this using Twitter profiles: http://muckrack.com/sources

Cheers,
Erik

David-
Artiss
Administrator
Posts: 382
Post Re: Shortcode for Twitter Simple Data
on: November 30, 2011, 12:19

I've since realised where you're having a problem - you can't specify multiple pieces of data with the shortcode. Hence you would need to do something like this...

[twitter user=erikeliason data=name] has [twitter user=erikeliason data=name] followers

David.

LucinaGewi-
nner
Newbie
Posts: 1
Post Re: Shortcode for Twitter Simple Data
on: December 2, 2011, 07:27

Hi,
Thanks for the information. I was working on twitter API to build a project. Your post helped me a lot. Thanks for such a good stuff.
Regards

David-
Artiss
Administrator
Posts: 382
Post Re: Shortcode for Twitter Simple Data
on: December 3, 2011, 14:31

No need for beta testing - I've released version 2 into WordPress.org and it's ready for download! Let me know if you experience any problems.

David.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.02 seconds.