The pipe in the picture is 3" ABS. I used pipe insulation tape but duct tape would work fine.
Edit: after you cut off the top of the plastic jar you need to make a slit in the side of it and sort of roll it conically until it fits the pipe nicely.
You can cut the top off of these plastic jars and slip a piece of 3 ft 4" PVC and now you have a week long auto feeder instead of a day just use a PVC cap to cover the pipe.
If you get the feeders that fit a 1 quart jar then you can cut the top off the plastic jar it comes with and slide a piece of 4" PVC or ABS over the jar (or you could slide a piece of 3" inside the jar) so you can make it hold more feed. I usually make them about three feet tall. I use those...