Zen Cart Logo
Forums / All Other Contributions/Addons / Twitter Product Card

Twitter Product Card

Views: 3,509

Results 1 to 17 of 17
15 May 2014, 7:34 PM
#1
simpledomaining avatar

simpledomaining

New Zenner

Join Date:
May 2011
Posts:
89
Plugin Contributions:
0

Twitter Product Card

Hello. I installed this addon twitter product card on 1.5.1 zencart and having trouble to validate URL at twitter, because the instruction on addon is very vague. Instruction says 1 install all files and run sql. 2. make any necessary changes 3. go to dev.twitter.com and follow instructions....
now...
In zencart admin panel it gives you 2 lines to setup:
Site: Set the site for twitter product card
Creator: Set the creator for twitter product card

when i go to dev.twitter.com and trying to setup twitter product card twitter site there mean your twitter id, and its just
has it own fields with description and no matter what i fill there up i dont get an url to my product on zencart. I guess i just need to see an example of this setup. can anyone share an example of this?
thanks.

16 May 2014, 2:45 PM
#2
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Re: Twitter Product Card

  1. Enter your twitter username for site and creator in admin - configuration - twitter product card.
  2. Go to dev.twitter.com and validate it.

If you can not do it, I do not know how to guide you again :(

16 May 2014, 3:20 PM
#3
simpledomaining avatar

simpledomaining

New Zenner

Join Date:
May 2011
Posts:
89
Plugin Contributions:
0

Re: Twitter Product Card

cvhainb:

  1. Enter your twitter username for site and creator in admin - configuration - twitter product card.
  2. Go to dev.twitter.com and validate it.

If you can not do it, I do not know how to guide you again :(

thank you very much for your answer... dont you think it is a big difference between "enter your twitter username" and "set the site for twitter product card? its just very confusing.

19 May 2014, 7:57 PM
#4
simpledomaining avatar

simpledomaining

New Zenner

Join Date:
May 2011
Posts:
89
Plugin Contributions:
0

Re: Twitter Product Card

Here is the problem i am facing. this is the plugin's readme: I. HOW TO INSTALL

  • It's very easy to install, no hard-coded. You only need to upload all files to destination folder.

II. HOW TO USE

now the problem... My all files installed and here is why i am saying there is a lack of instructions:

  1. I have twitter button built into my template using addthis.
  2. in store admin panel in twitter product card i fill out two rows:
    a/ Set the site for twitter product card (which turned out to mean twitter user id) - filled with my twitterid
    b/Set the creator for twitter product card (which also mean twitter user id) filled with same twitterid
  3. i went to dev.twitter.com selected twitter product card, where
    filled out:
    a/ twitter site: twitterid
    b/ creator: twitterid
    title, description, image scr, etc.. all filled out
  4. click validate url, and copy paste here my "URL product page", which is my product URL at store.
    5 result: invalid card type

which step is missing here? Please help, if anyone have ever succeeded with this.

24 Feb 2018, 2:16 PM
#5
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

Can someone show me how to add an Twitter Product Card on my site so I can share my products to Twitter? Its asking for Twitter Meta I don't what is it talking about.

24 Feb 2018, 2:37 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Twitter Product Card

You could (I believe) use @torvista's update to Structured Data for Zen Cart; the link goes to his GitHub repository for that plugin.

24 Feb 2018, 2:39 PM
#7
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

lat9:

You could (I believe) use @torvista's update to Structured Data for Zen Cart; the link goes to his GitHub repository for that plugin.

That makes NO sense.

24 Feb 2018, 3:58 PM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Twitter Product Card

wmorris:

That makes NO sense.
Why? The structured data includes Twitter "stuff".

24 Feb 2018, 4:27 PM
#9
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

lat9:

Why? The structured data includes Twitter "stuff".

Nevermind, I its working perfectly. Right now, I am having with the image on Twitter. Just waiting for the response.

15 Aug 2018, 6:52 PM
#10
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

Twitter is cutting my images in half. I am using Image Handler I have a new file for Facebook and Twitter for 1024px X 512px. The main first file is set for default up to 1000px by 1000px. When I share the product on Facebook it give me to image choice either 1000px by 1000px (default) or 1024px by 512px. When I choose the 1024px by 512px for facebook it looks and work great. But when I try to share it on Twitter. It only pulls 1000px by 1000px instead of 1024px by 512px. When I tweet it cuts my product image in half due to 1000px by 1000px.

15 Aug 2018, 7:42 PM
#11
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

Well also with this plugin is no help either. I have 2 different product images and it only wants to pull only one image and not giving you to choose which image you want.

20 Sep 2018, 4:38 PM
#12
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

Anyone!

7 Nov 2018, 10:55 PM
#15
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

davewest:

Some light reading... https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards

twitter is making some changes so you would need to apply them to this mod...

Thanks Dave,

I was having issues with images from the site. What its doing is cutting my images in half.

Twitter image size suggested: 1024 x 512

on my site is main image is 1000 x 1000.

8 Nov 2018, 3:55 PM
#16
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Twitter Product Card

wmorris:

Thanks Dave,

I was having issues with images from the site. What its doing is cutting my images in half.

Twitter image size suggested: 1024 x 512

on my site is main image is 1000 x 1000.
Which is why I suggest reading up on twitter... segment from the developer page..
Images for this Card support an aspect ratio of 2:1 with minimum dimensions of 300x157 or maximum of 4096x4096 pixels. Images must be less than 5MB in size. JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported.Also depends on type of card you are creating

images I use are 1109 pixels by 856 pixels 376kb and show without issues,,, but,, i am not using cards..

13 Nov 2018, 3:56 AM
#17
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: Twitter Product Card

Well Facebook is the same way when I share my products to Facebook it cuts the images in half. Here is an image of what I am talking about. Its the same when I share to Twitter.