On the longest paths and the diameter in random apollonian networks